diff options
Diffstat (limited to 'src/urlbar/urlbar.cpp')
-rw-r--r-- | src/urlbar/urlbar.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/urlbar/urlbar.cpp b/src/urlbar/urlbar.cpp index dcdda533..051277e2 100644 --- a/src/urlbar/urlbar.cpp +++ b/src/urlbar/urlbar.cpp @@ -67,7 +67,8 @@ UrlBar::UrlBar(QWidget *parent) connect(_tab->view(), SIGNAL(urlChanged(const QUrl &)), this, SLOT(setQUrl(const QUrl &))); connect(_tab->view(), SIGNAL(loadFinished(bool)), this, SLOT(loadFinished())); - + connect(_tab->view(), SIGNAL(loadStarted()), this, SLOT(clearRightIcons())); + // suggestions installEventFilter(_box); connect(_box, SIGNAL(chosenUrl(const KUrl &, Rekonq::OpenType)), SLOT(activated(const KUrl &, Rekonq::OpenType))); @@ -83,9 +84,6 @@ UrlBar::~UrlBar() void UrlBar::setQUrl(const QUrl& url) { - // find a better place? Ideally a loadStarted connected slot.. - clearRightIcons(); - if(url.scheme() == QL1S("about") ) { iconButton()->setIcon( KIcon("arrow-right") ); |