summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-08-27 03:05:35 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-08-27 03:05:35 +0200
commit18cc59d5acb2e49a7008470a26658b22624a60be (patch)
tree8a0d5468836f9e64c1e1a20fd2a0e7b03eca1439
parentUsing userBookmarksManager static function to surely retrieve bmManager.. (diff)
downloadrekonq-18cc59d5acb2e49a7008470a26658b22624a60be.tar.xz
Removed setHistoryMenu function
-rw-r--r--src/mainwindow.cpp17
-rw-r--r--src/mainwindow.h1
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();