summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-02-21 11:18:56 +0100
committerAndrea Diamantini <adjam7@gmail.com>2012-02-21 11:53:13 +0100
commit7bee5c583d7ef88ae2212571d44504ba125be57d (patch)
treecac94dcfe876f4cfca84b7532baff56c3bd3241f /src
parentHook the urlChanged Signal to History Actions Update (diff)
downloadrekonq-7bee5c583d7ef88ae2212571d44504ba125be57d.tar.xz
Get sure urlbar is updated on bookmarking
CCBUG:291239 cherry-picked from 32319364
Diffstat (limited to 'src')
-rw-r--r--src/urlbar/urlbar.cpp4
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
{