diff options
Diffstat (limited to 'src/opensearch')
-rw-r--r-- | src/opensearch/searchengine.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/opensearch/searchengine.cpp b/src/opensearch/searchengine.cpp index 89e62dee..415e5b35 100644 --- a/src/opensearch/searchengine.cpp +++ b/src/opensearch/searchengine.cpp @@ -140,10 +140,12 @@ QString SearchEngine::extractQuery(const QString &text) { QString query = text; KService::Ptr engine = SearchEngine::fromString(text); - if (engine) - { - query = query.remove(0, text.indexOf(SearchEngine::delimiter()) + 1); - } + + // WARNING: this lets rekonq hangs on kde: urlbar typing.. +// if (engine) +// { +// query = query.remove(0, text.indexOf(SearchEngine::delimiter()) + 1); +// } return query; } |