summaryrefslogtreecommitdiff
path: root/src/urlbar
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2013-07-29 10:39:19 +0200
committerAndrea Diamantini <adjam7@gmail.com>2013-07-29 10:39:19 +0200
commit44f3c1a259dac36d5a1a90de72b69da4f26876e5 (patch)
treeb7af18252ece4df7d80c6ae642fc000140188e2a /src/urlbar
parentSVN_SILENT made messages (.desktop file) (diff)
downloadrekonq-44f3c1a259dac36d5a1a90de72b69da4f26876e5.tar.xz
Properly resolve url before pasteAndGo
CCMAIL: hyperz.2007@gmail.com
Diffstat (limited to 'src/urlbar')
-rw-r--r--src/urlbar/urlbar.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/urlbar/urlbar.cpp b/src/urlbar/urlbar.cpp
index 87e30f48..274de8ab 100644
--- a/src/urlbar/urlbar.cpp
+++ b/src/urlbar/urlbar.cpp
@@ -686,7 +686,9 @@ void UrlBar::refreshFavicon()
void UrlBar::pasteAndGo()
{
- loadRequestedUrl(rApp->clipboard()->text().trimmed());
+ KUrl urlToLoad = UrlResolver::urlFromTextTyped(rApp->clipboard()->text().trimmed());
+ kDebug() << "Url to load: " << urlToLoad;
+ loadRequestedUrl(urlToLoad);
}