[kde-doc-english] [trojita] src/Gui: GUI: Ctrl+Q shall exit, not just close the window
Jan Kundrát
jkt at flaska.net
Tue May 21 23:32:42 UTC 2013
Git commit 0979b771f935c7e487e6aee78e4b7ef44d4cdad0 by Jan Kundrát.
Committed on 22/05/2013 at 01:30.
Pushed by jkt into branch 'master'.
GUI: Ctrl+Q shall exit, not just close the window
Thanks to Brian Jackson <iggy at theiggy.com> (iggy on IRC) for a bugreport.
M +1 -1 src/Gui/Window.cpp
http://commits.kde.org/trojita/0979b771f935c7e487e6aee78e4b7ef44d4cdad0
diff --git a/src/Gui/Window.cpp b/src/Gui/Window.cpp
index dd41e86..f4a54d1 100644
--- a/src/Gui/Window.cpp
+++ b/src/Gui/Window.cpp
@@ -183,7 +183,7 @@ void MainWindow::createActions()
reloadAllMailboxes = new QAction(tr("&Reload Everything"), this);
// connect later
- exitAction = ShortcutHandler::instance()->createAction(QLatin1String("action_application_exit"), this, SLOT(close()), this);
+ exitAction = ShortcutHandler::instance()->createAction(QLatin1String("action_application_exit"), qApp, SLOT(quit()), this);
exitAction->setStatusTip(tr("Exit the application"));
QActionGroup *netPolicyGroup = new QActionGroup(this);
More information about the kde-doc-english
mailing list