aboutsummaryrefslogtreecommitdiffstats
path: root/gui/dummy
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2018-06-26 15:47:22 +0200
committerMiodrag Milanovic <mmicko@gmail.com>2018-06-26 15:47:43 +0200
commit0bd73c19778c9bdbc8e6d85c120715e239a9bc0d (patch)
treec269c560c2dc284a4721bea2722a73bb522e5e3e /gui/dummy
parent6f12f2b7e8c58a0b14c6f1f3df2112b8860a6e4f (diff)
downloadnextpnr-0bd73c19778c9bdbc8e6d85c120715e239a9bc0d.tar.gz
nextpnr-0bd73c19778c9bdbc8e6d85c120715e239a9bc0d.tar.bz2
nextpnr-0bd73c19778c9bdbc8e6d85c120715e239a9bc0d.zip
Make GUI use recreated context
Diffstat (limited to 'gui/dummy')
-rw-r--r--gui/dummy/mainwindow.cc4
-rw-r--r--gui/dummy/mainwindow.h2
2 files changed, 3 insertions, 3 deletions
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();
diff --git a/gui/dummy/mainwindow.h b/gui/dummy/mainwindow.h
index b1b9598f..fd9812cd 100644
--- a/gui/dummy/mainwindow.h
+++ b/gui/dummy/mainwindow.h
@@ -29,7 +29,7 @@ class MainWindow : public BaseMainWindow
Q_OBJECT
public:
- explicit MainWindow(Context *ctx, QWidget *parent = 0);
+ explicit MainWindow(QWidget *parent = 0);
virtual ~MainWindow();
public: