diff options
author | megabigbug <megabigbug@arrakis.(none)> | 2010-04-23 08:25:45 +0200 |
---|---|---|
committer | megabigbug <megabigbug@arrakis.(none)> | 2010-04-23 08:25:45 +0200 |
commit | fb871ac2b4c5d20489c8d77022269b99634b5778 (patch) | |
tree | 759f224adc5b71c079b251e80bc414737512631c /src/urlbar/urlresolver.cpp | |
parent | Merge branch 'master' of gitorious.org:rekonq/mainline (diff) | |
download | rekonq-fb871ac2b4c5d20489c8d77022269b99634b5778.tar.xz |
refractoring on search engines
Diffstat (limited to 'src/urlbar/urlresolver.cpp')
-rw-r--r-- | src/urlbar/urlresolver.cpp | 10 |
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()); } |