From 0bd73c19778c9bdbc8e6d85c120715e239a9bc0d Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Tue, 26 Jun 2018 15:47:22 +0200 Subject: Make GUI use recreated context --- gui/dummy/mainwindow.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gui/dummy/mainwindow.cc') diff --git a/gui/dummy/mainwindow.cc b/gui/dummy/mainwindow.cc index c57d0db0..e86edafd 100644 --- a/gui/dummy/mainwindow.cc +++ b/gui/dummy/mainwindow.cc @@ -23,11 +23,11 @@ static void initMainResource() { Q_INIT_RESOURCE(nextpnr); } NEXTPNR_NAMESPACE_BEGIN -MainWindow::MainWindow(Context *_ctx, QWidget *parent) : BaseMainWindow(_ctx, parent) +MainWindow::MainWindow(QWidget *parent) : BaseMainWindow(parent) { initMainResource(); - std::string title = "nextpnr-dummy - " + ctx->getChipName(); + std::string title = "nextpnr-dummy - [EMPTY]"; setWindowTitle(title.c_str()); createMenu(); -- cgit v1.2.3