From 9b20b223604aa1e1df432d69aeb7eb0754bb19fd Mon Sep 17 00:00:00 2001 From: Jekyll Wu Date: Sun, 22 Jan 2012 19:24:15 +0800 Subject: [PATCH] Move the TODO comment to a more appropriate place --- src/MainWindow.cpp | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index d430d9dfc..9e16de5bd 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -116,16 +116,6 @@ MainWindow::MainWindow() rememberMenuAccelerators(); - // remove accelerators for standard menu items (eg. &File, &View, &Edit) - // etc. which are defined in kdelibs/kdeui/xmlgui/ui_standards.rc, again, - // to avoid conflicting with Alt+[Letter] terminal shortcuts - // - // TODO - Modify XMLGUI so that it allows the text for standard actions - // defined in ui_standards.rc to be re-defined in the local application - // XMLGUI file (konsoleui.rc in this case) - the text for standard items - // can then be redefined there to exclude the standard accelerators - //removeMenuAccelerators(); - // replace standard shortcuts which cannot be used in a terminal // (as they are reserved for use by terminal programs) correctShortcuts(); @@ -146,6 +136,14 @@ void MainWindow::rememberMenuAccelerators() } } +// remove accelerators for standard menu items (eg. &File, &View, &Edit) +// etc. which are defined in kdelibs/kdeui/xmlgui/ui_standards.rc, again, +// to avoid conflicting with Alt+[Letter] terminal shortcuts +// +// TODO - Modify XMLGUI so that it allows the text for standard actions +// defined in ui_standards.rc to be re-defined in the local application +// XMLGUI file (konsoleui.rc in this case) - the text for standard items +// can then be redefined there to exclude the standard accelerators void MainWindow::removeMenuAccelerators() { foreach(QAction * menuItem, menuBar()->actions()) {