[kde-doc-english] [trojita] src/Gui: GUI: Let's work without a dedicated Settings menu for now

Jan Kundrát jkt at flaska.net
Thu Mar 14 01:02:41 UTC 2013


Git commit 661978923c6ae7e6556f9137f1c6494470325200 by Jan Kundrát.
Committed on 14/03/2013 at 01:42.
Pushed by jkt into branch 'master'.

GUI: Let's work without a dedicated Settings menu for now

The generic application settings are already somewhere else, so let's not
introduce a top-level menu just for keyboard shortcuts.

M  +1    -3    src/Gui/Window.cpp

http://commits.kde.org/trojita/661978923c6ae7e6556f9137f1c6494470325200

diff --git a/src/Gui/Window.cpp b/src/Gui/Window.cpp
index 6819e59..53afeaf 100644
--- a/src/Gui/Window.cpp
+++ b/src/Gui/Window.cpp
@@ -435,6 +435,7 @@ void MainWindow::createMenus()
     debugMenu->addAction(showImapCapabilities);
     imapMenu->addSeparator();
     imapMenu->addAction(configSettings);
+    imapMenu->addAction(ShortcutHandler::instance()->shortcutConfigAction());
     imapMenu->addSeparator();
     imapMenu->addAction(exitAction);
 
@@ -471,9 +472,6 @@ void MainWindow::createMenus()
     mailboxMenu->addSeparator();
     mailboxMenu->addAction(reloadAllMailboxes);
 
-    QMenu *settingsMenu = menuBar()->addMenu(tr("&Settings"));
-    settingsMenu->addAction(ShortcutHandler::instance()->shortcutConfigAction());
-
     QMenu *helpMenu = menuBar()->addMenu(tr("&Help"));
     helpMenu->addAction(donateToTrojita);
     helpMenu->addSeparator();



More information about the kde-doc-english mailing list