summaryrefslogtreecommitdiff
path: root/src/urlbar/urlresolver.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-04-24 16:26:51 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-04-24 16:26:51 +0200
commit14ba17fa06be74409e0697a2dea6129428a62add (patch)
tree9fd7c78ecc3c025c1b216dc6bfd62f5c98db0d5d /src/urlbar/urlresolver.cpp
parentMerge branch 'DETACH_TAB' (diff)
parentupdate SearchEngine data when settings are changed (diff)
downloadrekonq-14ba17fa06be74409e0697a2dea6129428a62add.tar.xz
Merge commit 'refs/merge-requests/2250' of git://gitorious.org/rekonq/mainline into m2250
Diffstat (limited to 'src/urlbar/urlresolver.cpp')
-rw-r--r--src/urlbar/urlresolver.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/urlbar/urlresolver.cpp b/src/urlbar/urlresolver.cpp
index e4a45105..362484a6 100644
--- a/src/urlbar/urlresolver.cpp
+++ b/src/urlbar/urlresolver.cpp
@@ -184,15 +184,7 @@ UrlSearchList UrlResolver::qurlFromUserInputResolution()
// STEP 2 = Web Searches
UrlSearchList UrlResolver::webSearchesResolution()
{
- UrlSearchList list;
-
- if(KUrl(_typedString).isRelative())
- {
- UrlSearchItem gItem(UrlSearchItem::Search, KUrl(), QString() ); // others will find this url..
- list << gItem;
- }
-
- return list;
+ return UrlSearchList() << UrlSearchItem(UrlSearchItem::Search, KUrl(), QString());
}