summaryrefslogtreecommitdiff
path: root/src/urlbar
diff options
context:
space:
mode:
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);
}