diff options
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 { |