summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-03-05 22:36:53 +0100
committerAndrea Diamantini <adjam7@gmail.com>2012-03-05 22:36:53 +0100
commit495517c6838b67bf9a18246f3b0fe85109a9fa3b (patch)
tree6089e5498329bd41c3426d2bb45e0dc50fb822aa
parentUse proper colors for tabs (diff)
downloadrekonq-495517c6838b67bf9a18246f3b0fe85109a9fa3b.tar.xz
Fix toolbars rekonfig...
BUG:295245
-rw-r--r--src/mainwindow.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 0421136f..e954e7d3 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -170,8 +170,6 @@ MainWindow::MainWindow()
// no more status bar..
setStatusBar(0);
- setupBookmarksAndToolsShortcuts();
-
// setting popup notification
connect(rApp, SIGNAL(focusChanged(QWidget*,QWidget*)), m_popup, SLOT(hide()));
m_popup->setAutoFillBackground(true);
@@ -249,6 +247,8 @@ void MainWindow::setupToolbars()
void MainWindow::postLaunch()
{
+ setupBookmarksAndToolsShortcuts();
+
// this just to fix reopening rekonq after fullscreen close
KToolBar *mainBar = toolBar("mainToolBar");
mainBar->show();
@@ -1538,7 +1538,10 @@ void MainWindow::setupBookmarksAndToolsShortcuts()
// HACK: set button widget in rekonq menu
m_rekonqMenu->setButtonWidget(toolsButton);
+ return;
}
+
+ kWarning() << "oh oh, something went wrong with rekonq tools button...";
}