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:18:56 +0100 |
commit | 32319364a2fb6ab378db2639f8aab6fb51ce0e4b (patch) | |
tree | 3abcaec8196061159a7056de24b5b7692a88b20c /src | |
parent | Hook the urlChanged Signal to History Actions Update (diff) | |
download | rekonq-32319364a2fb6ab378db2639f8aab6fb51ce0e4b.tar.xz |
Get sure urlbar is updated on bookmarking
CCBUG:291239
Diffstat (limited to 'src')
-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 { |