summaryrefslogtreecommitdiff
path: root/src/mainwindow.h
diff options
context:
space:
mode:
authorFelix Rohrbach <fxrh@gmx.de>2011-01-18 15:05:04 +0100
committerFelix Rohrbach <fxrh@gmx.de>2011-01-22 17:50:39 +0100
commit327b0383dfc43651ebb7b401929942f3715b6602 (patch)
tree8486971ead4ced49a9714a518e4fe711a0901f52 /src/mainwindow.h
parentKeep downloaded suggestions in memory. (diff)
downloadrekonq-327b0383dfc43651ebb7b401929942f3715b6602.tar.xz
If showDeveloperTools is disabled, hide the development entries in the rekonq menu, too.
With this patch, the menu will be created the first time the user opens the menu. RB: 100374
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h
index 02cd7237..c915934b 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -169,7 +169,7 @@ private Q_SLOTS:
void enableNetworkAnalysis(bool);
void initBookmarkBar();
- void initToolsMenu();
+ void updateToolsMenu();
private:
MainView *m_view;
@@ -193,7 +193,8 @@ private:
KPassivePopup *m_popup;
QTimer *m_hidePopup;
- KActionMenu *m_toolsMenu;
+ KMenu *m_toolsMenu;
+ KActionMenu *m_developerMenu;
};
#endif // MAINWINDOW_H