From b40c4de384bb1e785c72809a04b4deaecb8e84ef Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Wed, 9 Mar 2011 17:56:15 +0100 Subject: Disable help menu creation via createGUI as we create it on our own... BUG:268071 --- src/mainwindow.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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))); -- cgit v1.2.1