summaryrefslogtreecommitdiff
path: root/src/urlbar/urlresolver.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-04-30 00:39:05 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-04-30 00:39:05 +0200
commitda8675af551d2e8bab82f638007a966c1c9bb8e2 (patch)
treecda072c6236389de358d3c56e30c62796cc7859d /src/urlbar/urlresolver.cpp
parentFixing tab switch behavior. (diff)
downloadrekonq-da8675af551d2e8bab82f638007a966c1c9bb8e2.tar.xz
Fixed wrong pointed out text in the Browse ListItem
Diffstat (limited to 'src/urlbar/urlresolver.cpp')
-rw-r--r--src/urlbar/urlresolver.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/urlbar/urlresolver.cpp b/src/urlbar/urlresolver.cpp
index 4f9376f5..b53b6b42 100644
--- a/src/urlbar/urlresolver.cpp
+++ b/src/urlbar/urlresolver.cpp
@@ -170,9 +170,8 @@ UrlSearchList UrlResolver::qurlFromUserInputResolution()
QUrl urlFromUserInput = QUrl::fromUserInput(url2);
if(urlFromUserInput.isValid())
{
- KUrl gUrl(urlFromUserInput);
QString gTitle = i18nc("Browse a website", "Browse");
- UrlSearchItem gItem(UrlSearchItem::Browse, gUrl, gTitle);
+ UrlSearchItem gItem(UrlSearchItem::Browse, urlFromUserInput, gTitle);
list << gItem;
}