summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoann Laissus <yoann.laissus@gmail.com>2012-02-04 14:21:17 +0100
committerYoann Laissus <yoann.laissus@gmail.com>2012-02-04 14:21:17 +0100
commitaaa4ef49fb45fbc60e08216339069201f645f03e (patch)
treeb98793ba11369d3f63335edc0b5e4a84fabb0dea
parentMerge branch 'FirstFebFixes' (diff)
downloadrekonq-aaa4ef49fb45fbc60e08216339069201f645f03e.tar.xz
Fix right icon duplication in the UrlBar on some website
-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 58c7caec..a7cb680c 100644
--- a/src/urlbar/urlbar.cpp
+++ b/src/urlbar/urlbar.cpp
@@ -354,6 +354,9 @@ void UrlBar::loadFinished()
return;
}
+ // Make sure icons aren't duplicated
+ clearRightIcons();
+
// show Favorite Icon
if (ReKonfig::previewUrls().contains(_tab->url().url()))
{
@@ -433,7 +436,6 @@ void UrlBar::updateRightIcons()
{
if (!_tab->isPageLoading())
{
- clearRightIcons();
loadFinished();
}
}