diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-11-07 16:35:41 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-11-07 16:35:41 +0100 |
commit | 65e287ee4a68dcd5019d3fad13b3ebfdd1ef23d4 (patch) | |
tree | 379a3c99565c72a9f7315f2aef093e6a8c3af87e /src/opensearch/searchengine.cpp | |
parent | commit the changes by yurchor on the docbook (diff) | |
download | rekonq-65e287ee4a68dcd5019d3fad13b3ebfdd1ef23d4.tar.xz |
First bunch of fixes for the suggestions.
We are now respecting users setting on default engines (if someone chooses NONE
default search engines, searches are NOT performed)
Diffstat (limited to 'src/opensearch/searchengine.cpp')
-rw-r--r-- | src/opensearch/searchengine.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/opensearch/searchengine.cpp b/src/opensearch/searchengine.cpp index 415e5b35..44e35e33 100644 --- a/src/opensearch/searchengine.cpp +++ b/src/opensearch/searchengine.cpp @@ -74,11 +74,11 @@ void SearchEngine::reload() //load default engine QString d = cg.readEntry("DefaultSearchEngine"); m_defaultEngine = KService::serviceByDesktopPath(QString("searchproviders/%1.desktop").arg(d)); - if (!m_defaultEngine) - { - d = QL1S("google"); - m_defaultEngine = KService::serviceByDesktopPath(QString("searchproviders/%1.desktop").arg(d)); - } +// if (!m_defaultEngine) +// { +// d = QL1S("google"); +// m_defaultEngine = KService::serviceByDesktopPath(QString("searchproviders/%1.desktop").arg(d)); +// } m_loaded = true; } |