summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-04-02 01:19:56 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-04-02 01:19:56 +0200
commit0d6af7007186d8db3a063908a51ef5deb770f0bd (patch)
treec88d0149e7da294d6b12163bc0fff932d03df844 /src/mainwindow.cpp
parentupdated FullScreenView (diff)
downloadrekonq-0d6af7007186d8db3a063908a51ef5deb770f0bd.tar.xz
Various fixes, including bookmarks bar
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index e864f80f..566a1b45 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -132,6 +132,10 @@ MainWindow::MainWindow()
// setup history menu: this has to be done AFTER setupGUI!!
setupHistoryMenu();
+ // bookmarks bar: this has to be done AFTER setupGUI!!
+ KToolBar *bmToolbar = toolBar("bookmarksToolBar");
+ m_bookmarksProvider->provideBmToolbar(bmToolbar);
+
// setup Tab Bar
setupTabBar();
@@ -170,10 +174,6 @@ void MainWindow::setupToolBars()
a->setDefaultWidget(m_searchBar);
connect(m_searchBar, SIGNAL(search(const KUrl&)), this, SLOT(loadUrl(const KUrl&)));
actionCollection()->addAction(QLatin1String("search_bar"), a);
-
- // bookmarks bar
- KToolBar *bmToolbar = toolBar("bookmarksToolBar");
- m_bookmarksProvider->provideBmToolbar(bmToolbar);
}