diff options
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r-- | src/mainwindow.cpp | 17 |
1 files changed, 0 insertions, 17 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 ================== |