diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2013-07-29 10:39:19 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2013-07-29 10:39:19 +0200 |
commit | 44f3c1a259dac36d5a1a90de72b69da4f26876e5 (patch) | |
tree | b7af18252ece4df7d80c6ae642fc000140188e2a /src/urlbar | |
parent | SVN_SILENT made messages (.desktop file) (diff) | |
download | rekonq-44f3c1a259dac36d5a1a90de72b69da4f26876e5.tar.xz |
Properly resolve url before pasteAndGo
CCMAIL: hyperz.2007@gmail.com
Diffstat (limited to 'src/urlbar')
-rw-r--r-- | src/urlbar/urlbar.cpp | 4 |
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); } |