From aaa4ef49fb45fbc60e08216339069201f645f03e Mon Sep 17 00:00:00 2001 From: Yoann Laissus Date: Sat, 4 Feb 2012 14:21:17 +0100 Subject: Fix right icon duplication in the UrlBar on some website --- src/urlbar/urlbar.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/urlbar') 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(); } } -- cgit v1.2.1