ensure application is closed when window is closed
This commit is contained in:
@@ -38,3 +38,5 @@ void MainWindow::fullScreenRequested(
|
||||
fullScreenRequest.accept();
|
||||
fullScreenRequest.toggleOn() ? showFullScreen() : showNormal();
|
||||
}
|
||||
|
||||
void MainWindow::closeEvent(QCloseEvent *event) { QApplication::quit(); }
|
||||
|
||||
Reference in New Issue
Block a user