summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-02-21 11:48:28 +0100
committerAndrea Diamantini <adjam7@gmail.com>2012-02-21 11:54:33 +0100
commita64c8061835f991e1bd9d99e1abfd554f67d001e (patch)
treecf521879853858f6b43032be193f59c2f56229d6 /src/mainwindow.cpp
parentGet sure mainbar is restored on restart after fullscreen close (diff)
downloadrekonq-a64c8061835f991e1bd9d99e1abfd554f67d001e.tar.xz
Update bk toolbar action state
Cherry-picked from 20e0b62653
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 1d2304c4..0421136f 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -271,6 +271,7 @@ void MainWindow::postLaunch()
// Bookmarks bar action
a = actionByName(QL1S("show_bookmarks_toolbar"));
a->setChecked(XMLGUIBkBar->isVisible());
+ connect(XMLGUIBkBar, SIGNAL(visibilityChanged(bool)), a, SLOT(setChecked(bool)));
// History panel action
a = actionByName(QL1S("show_history_panel"));