diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2018-06-21 17:44:18 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2018-06-21 17:44:18 +0200 |
commit | 54549d36e911aac8d0b0a2eea6074654c06c9717 (patch) | |
tree | bacd09c5c7637ed7ffc918f222b2ce50fef9d73d /gui/dummy | |
parent | fcfb85e9dc7cc4a858c938692a8612cef3c9538b (diff) | |
download | nextpnr-54549d36e911aac8d0b0a2eea6074654c06c9717.tar.gz nextpnr-54549d36e911aac8d0b0a2eea6074654c06c9717.tar.bz2 nextpnr-54549d36e911aac8d0b0a2eea6074654c06c9717.zip |
log_error now trows exception, main is covering catch
Diffstat (limited to 'gui/dummy')
-rw-r--r-- | gui/dummy/mainwindow.cc | 9 | ||||
-rw-r--r-- | gui/dummy/mainwindow.h | 2 |
2 files changed, 3 insertions, 8 deletions
diff --git a/gui/dummy/mainwindow.cc b/gui/dummy/mainwindow.cc index f714e30e..7982c5f5 100644 --- a/gui/dummy/mainwindow.cc +++ b/gui/dummy/mainwindow.cc @@ -17,11 +17,6 @@ void MainWindow::createMenu() menuBar->addAction(menu_Custom->menuAction());
}
-void MainWindow::open()
-{
-}
+void MainWindow::open() {}
-bool MainWindow::save()
-{
- return false;
-}
\ No newline at end of file +bool MainWindow::save() { return false; }
\ No newline at end of file diff --git a/gui/dummy/mainwindow.h b/gui/dummy/mainwindow.h index ea4480fb..c9690f2c 100644 --- a/gui/dummy/mainwindow.h +++ b/gui/dummy/mainwindow.h @@ -19,7 +19,7 @@ class MainWindow : public BaseMainWindow protected Q_SLOTS:
virtual void open();
- virtual bool save();
+ virtual bool save();
};
#endif // MAINWINDOW_H
|