Commit 998f127e authored by Calvin Buckley's avatar Calvin Buckley 🤔

Exit/quit semantics should close /all/ windows, not just the one

We have the close item for this now.
parent 498fa4cc
...@@ -378,7 +378,7 @@ void QCGTopLevel::createActions() ...@@ -378,7 +378,7 @@ void QCGTopLevel::createActions()
_exitAction->setMenuRole(QAction::QuitRole); _exitAction->setMenuRole(QAction::QuitRole);
_exitAction->setShortcut(tr("Ctrl+Q")); _exitAction->setShortcut(tr("Ctrl+Q"));
_exitAction->setStatusTip(tr("Exit the application")); _exitAction->setStatusTip(tr("Exit the application"));
connect(_exitAction, &QAction::triggered, this, &QWidget::close); connect(_exitAction, &QAction::triggered, this, &QApplication::closeAllWindows);
// view menu actions // view menu actions
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment