aboutsummaryrefslogtreecommitdiffstats
path: root/gui/dummy/mainwindow.cc
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2018-06-22 15:38:17 +0200
committerClifford Wolf <clifford@clifford.at>2018-06-22 15:38:17 +0200
commit001c6ceb5661976eb3f0146c1b819a7f2ad8ea7d (patch)
tree06846f1268806265eaaa4d1ec97410e8c0045621 /gui/dummy/mainwindow.cc
parent9b98a7175be440a6a59ddcc022615e04b8538bda (diff)
parent56c09fc5e5f7fb5c299f7a0b52e839556146615d (diff)
downloadnextpnr-001c6ceb5661976eb3f0146c1b819a7f2ad8ea7d.tar.gz
nextpnr-001c6ceb5661976eb3f0146c1b819a7f2ad8ea7d.tar.bz2
nextpnr-001c6ceb5661976eb3f0146c1b819a7f2ad8ea7d.zip
Merge branch 'master' of gitlab.com:SymbioticEDA/nextpnr
Diffstat (limited to 'gui/dummy/mainwindow.cc')
-rw-r--r--gui/dummy/mainwindow.cc10
1 files changed, 9 insertions, 1 deletions
diff --git a/gui/dummy/mainwindow.cc b/gui/dummy/mainwindow.cc
index 7982c5f5..da162dd0 100644
--- a/gui/dummy/mainwindow.cc
+++ b/gui/dummy/mainwindow.cc
@@ -1,8 +1,14 @@
#include "mainwindow.h"
+static void initMainResource() { Q_INIT_RESOURCE(nextpnr); }
+
+NEXTPNR_NAMESPACE_BEGIN
+
MainWindow::MainWindow(Context *_ctx, QWidget *parent)
: BaseMainWindow(_ctx, parent)
{
+ initMainResource();
+
std::string title = "nextpnr-dummy - " + ctx->getChipName();
setWindowTitle(title.c_str());
@@ -19,4 +25,6 @@ void MainWindow::createMenu()
void MainWindow::open() {}
-bool MainWindow::save() { return false; } \ No newline at end of file
+bool MainWindow::save() { return false; }
+
+NEXTPNR_NAMESPACE_END