summaryrefslogtreecommitdiff
path: root/src/urlbar
diff options
context:
space:
mode:
Diffstat (limited to 'src/urlbar')
-rw-r--r--src/urlbar/urlbar.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/urlbar/urlbar.cpp b/src/urlbar/urlbar.cpp
index a14e39b5..6f4a09fc 100644
--- a/src/urlbar/urlbar.cpp
+++ b/src/urlbar/urlbar.cpp
@@ -391,7 +391,17 @@ void UrlBar::loadStarted()
void UrlBar::loadFinished()
{
refreshFavicon();
+ updateRightIcons();
+}
+
+
+void UrlBar::updateRightIcons()
+{
+ if (_tab->isPageLoading())
+ return;
+ clearRightIcons();
+
if (_tab->url().scheme() == QL1S("about"))
{
update();
@@ -432,16 +442,6 @@ void UrlBar::loadFinished()
}
-void UrlBar::updateRightIcons()
-{
- if (!_tab->isPageLoading())
- {
- clearRightIcons();
- loadFinished();
- }
-}
-
-
void UrlBar::mouseDoubleClickEvent(QMouseEvent *event)
{
Q_UNUSED(event);