diff options
Diffstat (limited to 'src/urlbar/urlbar.cpp')
-rw-r--r-- | src/urlbar/urlbar.cpp | 5 |
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) ); } |