diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-10-28 23:54:09 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-10-28 23:54:09 +0200 |
commit | a3c6101c8aec18dcfca90b99965b9a2e94b13ade (patch) | |
tree | 93f48582e252c986f31a05c784f9635c0c29408a /src/opensearch | |
parent | Merge branch 'Open_last_tab_with_history' into NEWMASTER (diff) | |
download | rekonq-a3c6101c8aec18dcfca90b99965b9a2e94b13ade.tar.xz |
Fix KDE webshortcuts handling with new highlight system. (no more hangs)
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; } |