summaryrefslogtreecommitdiff
path: root/src/urlbar/urlbar.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-02-18 02:10:51 +0100
committerAndrea Diamantini <adjam7@gmail.com>2010-02-18 02:10:51 +0100
commit4dcd02b5317896be0adbe479a4594dac4f048286 (patch)
tree2fd44aeae0e9a60ec4df3b50ef4f5dc090db983b /src/urlbar/urlbar.cpp
parentPlease, don't crash on CTRL+W signals :) (diff)
downloadrekonq-4dcd02b5317896be0adbe479a4594dac4f048286.tar.xz
Working around about: protocol..
- honor rekonq settings on about:home page - loads about:blank :) pages
Diffstat (limited to 'src/urlbar/urlbar.cpp')
-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) );
}