summaryrefslogtreecommitdiff
path: root/src/urlbar
diff options
context:
space:
mode:
Diffstat (limited to 'src/urlbar')
-rw-r--r--src/urlbar/urlbar.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/urlbar/urlbar.cpp b/src/urlbar/urlbar.cpp
index 8cb17b17..3ddadf6b 100644
--- a/src/urlbar/urlbar.cpp
+++ b/src/urlbar/urlbar.cpp
@@ -208,8 +208,9 @@ void UrlBar::activated(const QString& urlString)
// this fix urlbar behaviour, removing focus from there and enabling
// loading animation. Temporary fix??
Application::instance()->mainWindow()->currentTab()->setFocus();
- setUrl(urlString);
- emit activated(m_currentUrl);
+
+ setUrl( KUrl(urlString) );
+ emit activated( KUrl(urlString) );
}