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:38:47 +0100 |
commit | 263bfe32a59b7f2e7a18840103fa2aa3e7d20b12 (patch) | |
tree | 24d13968452c69318261e546b3aed3777a5d62eb /src | |
parent | Use proper colors for tabs (diff) | |
download | rekonq-263bfe32a59b7f2e7a18840103fa2aa3e7d20b12.tar.xz |
Fix toolbars rekonfig...
Backported from master.
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..."; } |