summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2011-03-09 17:56:15 +0100
committerAndrea Diamantini <adjam7@gmail.com>2011-03-09 17:56:15 +0100
commitb40c4de384bb1e785c72809a04b4deaecb8e84ef (patch)
tree925f65ab587741dc404e23b42871098a06371862 /src
parentThis is a first commit fixing the "dangerous" changes introduced to fix (diff)
downloadrekonq-b40c4de384bb1e785c72809a04b4deaecb8e84ef.tar.xz
Disable help menu creation via createGUI as we create it on our own...
BUG:268071
Diffstat (limited to 'src')
-rw-r--r--src/mainwindow.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 66122265..34587b12 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -142,6 +142,9 @@ MainWindow::MainWindow()
// setting up rekonq toolbar(s)
setupToolbars();
+ // disable help menu, as we'll load it on our own...
+ setHelpMenuEnabled(false);
+
// a call to KXmlGuiWindow::setupGUI() populates the GUI
// with actions, using KXMLGUI.
// It also applies the saved mainwindow settings, if any, and ask the
@@ -256,7 +259,6 @@ void MainWindow::updateToolsMenu()
m_toolsMenu->addSeparator();
- this->setHelpMenuEnabled(true);
helpMenu()->setIcon(KIcon("help-browser"));
m_toolsMenu->addAction(helpMenu()->menuAction());
m_toolsMenu->addAction(actionByName(KStandardAction::name(KStandardAction::Preferences)));