From 327b0383dfc43651ebb7b401929942f3715b6602 Mon Sep 17 00:00:00 2001 From: Felix Rohrbach Date: Tue, 18 Jan 2011 15:05:04 +0100 Subject: 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 --- src/mainwindow.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/mainwindow.h') 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 -- cgit v1.2.1