diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2012-02-21 11:18:56 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2012-02-21 11:53:13 +0100 |
commit | 7bee5c583d7ef88ae2212571d44504ba125be57d (patch) | |
tree | cac94dcfe876f4cfca84b7532baff56c3bd3241f | |
parent | Hook the urlChanged Signal to History Actions Update (diff) | |
download | rekonq-7bee5c583d7ef88ae2212571d44504ba125be57d.tar.xz |
Get sure urlbar is updated on bookmarking
CCBUG:291239
cherry-picked from 32319364
-rw-r--r-- | src/urlbar/urlbar.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/urlbar/urlbar.cpp b/src/urlbar/urlbar.cpp index c0da3ff1..df1ee696 100644 --- a/src/urlbar/urlbar.cpp +++ b/src/urlbar/urlbar.cpp @@ -136,6 +136,9 @@ UrlBar::UrlBar(QWidget *parent) connect(rApp->opensearchManager(), SIGNAL(openSearchEngineAdded(QString,QString,QString)), this, SLOT(updateRightIcons())); + // bookmark icon + connect(rApp->bookmarkManager(), SIGNAL(bookmarksUpdated()),this, SLOT(updateRightIcons())); + _suggestionTimer->setSingleShot(true); connect(_suggestionTimer, SIGNAL(timeout()), this, SLOT(suggest())); @@ -421,7 +424,6 @@ void UrlBar::showBookmarkInfo(QPoint pos) if (bookmark.isNull()) { bookmark = rApp->bookmarkManager()->owner()->bookmarkCurrentPage(); - updateRightIcons(); } else { |