diff options
author | Karel Kočí <cynerd@email.cz> | 2018-01-05 16:53:09 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2018-01-05 16:53:09 +0100 |
commit | 85110f7880e32d298ee2853b4c055c7aaa22662f (patch) | |
tree | dd7f3bc8f3f95e9c679a1bea86a8320d82280774 /qtmips_gui/mainwindow.cpp | |
parent | a5506270bc42a950d94a05878d8adfc15cefb464 (diff) | |
download | qtmips-85110f7880e32d298ee2853b4c055c7aaa22662f.tar.gz qtmips-85110f7880e32d298ee2853b4c055c7aaa22662f.tar.bz2 qtmips-85110f7880e32d298ee2853b4c055c7aaa22662f.zip |
Fix and suppress most of the warnings
Diffstat (limited to 'qtmips_gui/mainwindow.cpp')
-rw-r--r-- | qtmips_gui/mainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qtmips_gui/mainwindow.cpp b/qtmips_gui/mainwindow.cpp index 92d1a74..6b8d19b 100644 --- a/qtmips_gui/mainwindow.cpp +++ b/qtmips_gui/mainwindow.cpp @@ -134,7 +134,7 @@ void MainWindow::set_speed() { machine->set_speed(0); } -void MainWindow::closeEvent(QCloseEvent *event) { +void MainWindow::closeEvent(QCloseEvent *event __attribute__((unused))) { settings->setValue("windowGeometry", saveGeometry()); settings->setValue("windowState", saveState()); settings->sync(); |