diff options
Diffstat (limited to 'gui/ecp5')
-rw-r--r-- | gui/ecp5/mainwindow.cc | 2 | ||||
-rw-r--r-- | gui/ecp5/mainwindow.h | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/gui/ecp5/mainwindow.cc b/gui/ecp5/mainwindow.cc index 4fc8be16..b3c53849 100644 --- a/gui/ecp5/mainwindow.cc +++ b/gui/ecp5/mainwindow.cc @@ -40,7 +40,6 @@ MainWindow::MainWindow(std::unique_ptr<Context> context, ArchArgs args, QWidget connect(this, &BaseMainWindow::contextChanged, this, &MainWindow::newContext);
createMenu();
- Q_EMIT contextChanged(ctx.get());
}
MainWindow::~MainWindow() {}
@@ -115,7 +114,6 @@ void MainWindow::new_proj() if (ok && !item.isEmpty()) {
currentProj = "";
- currentJson = "";
disableActions();
chipArgs.package = package.toStdString().c_str();
ctx = std::unique_ptr<Context>(new Context(chipArgs));
diff --git a/gui/ecp5/mainwindow.h b/gui/ecp5/mainwindow.h index aa1af17b..f85c2abc 100644 --- a/gui/ecp5/mainwindow.h +++ b/gui/ecp5/mainwindow.h @@ -52,7 +52,6 @@ class MainWindow : public BaseMainWindow ArchArgs chipArgs;
- std::string currentProj;
std::string currentBaseConfig;
};
|