diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2019-06-14 15:18:35 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2019-06-14 15:18:35 +0200 |
commit | 66ea9f39f7f5d6e1152105328f9a48a367bd8ce0 (patch) | |
tree | c00f2c07205988f67d24a4f6a22ee8f8f301ecf2 /gui/generic | |
parent | aca372de99b960ca808e49fec27d2aaf890574d3 (diff) | |
download | nextpnr-66ea9f39f7f5d6e1152105328f9a48a367bd8ce0.tar.gz nextpnr-66ea9f39f7f5d6e1152105328f9a48a367bd8ce0.tar.bz2 nextpnr-66ea9f39f7f5d6e1152105328f9a48a367bd8ce0.zip |
enable lading of jsons and setting up context
Diffstat (limited to 'gui/generic')
-rw-r--r-- | gui/generic/mainwindow.cc | 4 | ||||
-rw-r--r-- | gui/generic/mainwindow.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/gui/generic/mainwindow.cc b/gui/generic/mainwindow.cc index eefff39c..f616ca1a 100644 --- a/gui/generic/mainwindow.cc +++ b/gui/generic/mainwindow.cc @@ -26,8 +26,8 @@ static void initMainResource() { Q_INIT_RESOURCE(nextpnr); } NEXTPNR_NAMESPACE_BEGIN
-MainWindow::MainWindow(std::unique_ptr<Context> context, ArchArgs args, QWidget *parent)
- : BaseMainWindow(std::move(context), args, parent)
+MainWindow::MainWindow(std::unique_ptr<Context> context, CommandHandler *handler, QWidget *parent)
+ : BaseMainWindow(std::move(context), handler, parent)
{
initMainResource();
QMessageBox::critical(0, "Error - FIXME", "No GUI support for nextpnr-generic");
diff --git a/gui/generic/mainwindow.h b/gui/generic/mainwindow.h index bb6a4cf1..4d1cf598 100644 --- a/gui/generic/mainwindow.h +++ b/gui/generic/mainwindow.h @@ -29,7 +29,7 @@ class MainWindow : public BaseMainWindow Q_OBJECT
public:
- explicit MainWindow(std::unique_ptr<Context> context, ArchArgs args, QWidget *parent = 0);
+ explicit MainWindow(std::unique_ptr<Context> context, CommandHandler *handler, QWidget *parent = 0);
virtual ~MainWindow();
public:
|