diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-04-22 01:24:48 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-04-22 01:24:48 +0200 |
commit | db75cbfd9bbb52858d6434e96ac914424a66fe09 (patch) | |
tree | 5137dc9c1a444e4bd90e7f4a7a1877244c2140ff /src/mainwindow.cpp | |
parent | Side Panel (diff) | |
download | rekonq-db75cbfd9bbb52858d6434e96ac914424a66fe09.tar.xz |
Trivial fixes
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r-- | src/mainwindow.cpp | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 82b15ebf..7ada3cb2 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -119,22 +119,16 @@ MainWindow::MainWindow() // then, setup our actions setupActions(); - // add a status bar - statusBar()->show(); - // setting up toolbars: this has to be done BEFORE setupGUI!! setupToolBars(); - // ----- BOOKMARKS MENU: this has to be done BEFORE setupGUI!! -// KAction *a = new KActionMenu(i18n("B&ookmarks"), this); -// actionCollection()->addAction(QLatin1String("bookmarks"), a); -// KActionMenu *bmMenu = Application::bookmarkProvider()->bookmarkActionMenu(); -// a->setMenu(bmMenu); - + // Bookmark Menu KActionMenu *bmMenu = Application::bookmarkProvider()->bookmarkActionMenu(); actionCollection()->addAction(QLatin1String("bookmarks"), bmMenu); + // Side Panel: this has to be done BEFORE setupGUI!! setupSidePanel(); + // a call to KXmlGuiWindow::setupGUI() populates the GUI // with actions, using KXMLGUI. // It also applies the saved mainwindow settings, if any, and ask the @@ -145,14 +139,11 @@ 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_bookmarkProvider->provideBmToolbar(bmToolbar); + // add a status bar + statusBar()->show(); // setting up toolbars to NOT have context menu enabled setContextMenuPolicy(Qt::DefaultContextMenu); - - } |