diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-08-27 03:05:35 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-08-27 03:05:35 +0200 |
commit | 18cc59d5acb2e49a7008470a26658b22624a60be (patch) | |
tree | 8a0d5468836f9e64c1e1a20fd2a0e7b03eca1439 /src | |
parent | Using userBookmarksManager static function to surely retrieve bmManager.. (diff) | |
download | rekonq-18cc59d5acb2e49a7008470a26658b22624a60be.tar.xz |
Removed setHistoryMenu function
Diffstat (limited to 'src')
-rw-r--r-- | src/mainwindow.cpp | 17 | ||||
-rw-r--r-- | src/mainwindow.h | 1 |
2 files changed, 0 insertions, 18 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index f18cf1d2..845cdd38 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -406,23 +406,6 @@ void MainWindow::setupSidePanel() } -void MainWindow::setupHistoryMenu() -{ - HistoryMenu *historyMenu = new HistoryMenu(this); - connect(historyMenu, SIGNAL(openUrl(const KUrl&)), Application::instance(), SLOT(loadUrl(const KUrl&))); - historyMenu->setTitle(i18n("&History")); - - // setting history menu position - menuBar()->insertMenu(actionCollection()->action("bookmarksActionMenu"), historyMenu); - - // setting initial actions - QList<QAction*> historyActions; - historyActions.append(actionCollection()->action("history_back")); - historyActions.append(actionCollection()->action("history_forward")); - historyMenu->setInitialActions(historyActions); -} - - void MainWindow::slotUpdateConfiguration() { // ============== General ================== diff --git a/src/mainwindow.h b/src/mainwindow.h index 854745df..ded44790 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -73,7 +73,6 @@ public: private: void setupActions(); - void setupHistoryMenu(); void setupTools(); void setupToolbar(); |