[kde-doc-english] [trojita] src/Gui: GUI: remove ambiguous Ctrl+N shortcut
Jan Kundrát
jkt at flaska.net
Mon May 13 10:32:27 UTC 2013
Git commit ecf30dae19631e44342e55e7a1bf6f101515a15e by Jan Kundrát.
Committed on 13/05/2013 at 12:30.
Pushed by jkt into branch 'master'.
GUI: remove ambiguous Ctrl+N shortcut
This was introduced by me in commit:5ec815a3e15ba5939326f77f30024671232fb4eb.
Thanks to Sebastian Spaeth <Sebastian at sspaeth.de> for reporting.
fixes #631
M +1 -1 src/Gui/Window.cpp
http://commits.kde.org/trojita/ecf30dae19631e44342e55e7a1bf6f101515a15e
diff --git a/src/Gui/Window.cpp b/src/Gui/Window.cpp
index 05e62b7..9624dad 100644
--- a/src/Gui/Window.cpp
+++ b/src/Gui/Window.cpp
@@ -131,7 +131,7 @@ void MainWindow::defineActions()
ShortcutHandler *shortcutHandler = ShortcutHandler::instance();
shortcutHandler->defineAction(QLatin1String("action_application_exit"), QLatin1String("application-exit"), tr("E&xit"), QKeySequence::Quit);
shortcutHandler->defineAction(QLatin1String("action_compose_mail"), QLatin1String("document-edit"), tr("&New Message..."), QKeySequence::New);
- shortcutHandler->defineAction(QLatin1String("action_compose_draft"), QLatin1String("document-open-recent"), tr("&Edit Draft..."), QKeySequence::New);
+ shortcutHandler->defineAction(QLatin1String("action_compose_draft"), QLatin1String("document-open-recent"), tr("&Edit Draft..."));
shortcutHandler->defineAction(QLatin1String("action_show_menubar"), QLatin1String("view-list-text"), tr("Show Main Menu &Bar"), tr("Ctrl+M"));
shortcutHandler->defineAction(QLatin1String("action_expunge"), QLatin1String("trash-empty"), tr("Exp&unge"), tr("Ctrl+E"));
shortcutHandler->defineAction(QLatin1String("action_mark_as_read"), QLatin1String("mail-mark-read"), tr("Mark as &Read"), QLatin1String("M"));
More information about the kde-doc-english
mailing list