From 4dcd02b5317896be0adbe479a4594dac4f048286 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Thu, 18 Feb 2010 02:10:51 +0100 Subject: Working around about: protocol.. - honor rekonq settings on about:home page - loads about:blank :) pages --- src/urlbar/urlbar.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/urlbar') 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) ); } -- cgit v1.2.1