Showing the changes to interface/src/MainWindow.cpp (1 of 2 files). Show all
Unified · Split
| @@ -55,6 +55,10 @@ void MainWindow::saveGeometry() { · 54 unmodified lines | ||
| 55 | 55 | } |
| 56 | 56 | } |
| 57 | 57 | |
| 58 | +void MainWindow::closeEvent(QCloseEvent* event) { | |
| 59 | + qApp->quit(); | |
| 60 | +} | |
| 61 | + | |
| 58 | 62 | void MainWindow::moveEvent(QMoveEvent* event) { |
| 59 | 63 | emit windowGeometryChanged(QRect(event->pos(), size())); |
| 60 | 64 | QMainWindow::moveEvent(event); |