aboutsummaryrefslogtreecommitdiffstats
path: root/dummy/main.cc
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2018-06-22 16:48:56 +0200
committerMiodrag Milanovic <mmicko@gmail.com>2018-06-22 16:49:15 +0200
commite5bd4764b27c86fa804700b18bcac5cf18815314 (patch)
treea43f9d83526631c73f58e02d3eb5ffcc6f878b22 /dummy/main.cc
parentcf78f1b0e4b937406471d2d44a74a9fba8e8c657 (diff)
downloadnextpnr-e5bd4764b27c86fa804700b18bcac5cf18815314.tar.gz
nextpnr-e5bd4764b27c86fa804700b18bcac5cf18815314.tar.bz2
nextpnr-e5bd4764b27c86fa804700b18bcac5cf18815314.zip
Added custom QApplication implementation
Diffstat (limited to 'dummy/main.cc')
-rw-r--r--dummy/main.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/dummy/main.cc b/dummy/main.cc
index b6caa4c1..fa1259d4 100644
--- a/dummy/main.cc
+++ b/dummy/main.cc
@@ -22,6 +22,7 @@
#include <QApplication>
#include <boost/filesystem/convenience.hpp>
#include <boost/program_options.hpp>
+#include "application.h"
#include "log.h"
#include "mainwindow.h"
#include "nextpnr.h"
@@ -107,7 +108,7 @@ int main(int argc, char *argv[])
}
if (vm.count("gui")) {
- QApplication a(argc, argv);
+ Application a(argc, argv);
MainWindow w(&ctx);
w.show();