diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2018-08-04 11:52:07 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2018-08-04 11:52:07 +0200 |
commit | dc4bd1b55fba763792e3e8826a9fee63d486006b (patch) | |
tree | 6f965fe4b9d93826db7da73cd46ed35811b6a898 /gui/ice40 | |
parent | a31c00ed96aee4e43bfafc7165d640a1d1a14a9f (diff) | |
download | nextpnr-dc4bd1b55fba763792e3e8826a9fee63d486006b.tar.gz nextpnr-dc4bd1b55fba763792e3e8826a9fee63d486006b.tar.bz2 nextpnr-dc4bd1b55fba763792e3e8826a9fee63d486006b.zip |
Move ArchArgs to BaseWindow
Diffstat (limited to 'gui/ice40')
-rw-r--r-- | gui/ice40/mainwindow.cc | 2 | ||||
-rw-r--r-- | gui/ice40/mainwindow.h | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/gui/ice40/mainwindow.cc b/gui/ice40/mainwindow.cc index 677b3166..3463e122 100644 --- a/gui/ice40/mainwindow.cc +++ b/gui/ice40/mainwindow.cc @@ -37,7 +37,7 @@ 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), parent), chipArgs(args)
+ : BaseMainWindow(std::move(context), args, parent)
{
initMainResource();
diff --git a/gui/ice40/mainwindow.h b/gui/ice40/mainwindow.h index 230ccc4e..829375e2 100644 --- a/gui/ice40/mainwindow.h +++ b/gui/ice40/mainwindow.h @@ -55,8 +55,6 @@ class MainWindow : public BaseMainWindow QAction *actionLoadPCF;
QAction *actionSaveAsc;
- ArchArgs chipArgs;
-
std::string currentProj;
std::string currentPCF;
};
|