diff options
Diffstat (limited to 'src/searchengine.cpp')
-rw-r--r-- | src/searchengine.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/searchengine.cpp b/src/searchengine.cpp index 40e26f42..b4a96cd9 100644 --- a/src/searchengine.cpp +++ b/src/searchengine.cpp @@ -33,6 +33,8 @@ #include <KServiceTypeTrader> #include <KUriFilter> +#include <QStringList> + struct SearchEnginePrivate { @@ -49,6 +51,7 @@ struct SearchEnginePrivate K_GLOBAL_STATIC(SearchEnginePrivate, d) + void SearchEngine::reload() { KConfig config("kuriikwsfilterrc"); //Shared with konqueror @@ -150,11 +153,7 @@ KService::Ptr SearchEngine::fromString(const QString &text) QString SearchEngine::buildQuery(const QString &text) { QString query = text; - KUriFilter::self()->filterUri(query, QStringList("kurisearchfilter")); - - //If the query did not change, use the default searchengine - if(query == text) - KUriFilter::self()->filterUri(query, QStringList("kuriikwsfilter")); + KUriFilter::self()->filterUri(query, QStringList()); return query; } |