diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2012-03-05 22:36:53 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2012-03-05 22:36:53 +0100 |
commit | 495517c6838b67bf9a18246f3b0fe85109a9fa3b (patch) | |
tree | 6089e5498329bd41c3426d2bb45e0dc50fb822aa /src | |
parent | Use proper colors for tabs (diff) | |
download | rekonq-495517c6838b67bf9a18246f3b0fe85109a9fa3b.tar.xz |
Fix toolbars rekonfig...
BUG:295245
Diffstat (limited to 'src')
-rw-r--r-- | src/mainwindow.cpp | 7 |
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..."; } |