summaryrefslogtreecommitdiff
path: root/src/opensearch/opensearchmanager.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2011-12-29 09:35:51 +0100
committerAndrea Diamantini <adjam7@gmail.com>2011-12-29 09:35:51 +0100
commit18cb05938a8a1621c267a0c3a3efc03382061681 (patch)
treec3ad66dcbf0fe03e6102394de8fac9b5060a2770 /src/opensearch/opensearchmanager.cpp
parentCorrectly hide preview selector bar when its preview is deleted in (diff)
downloadrekonq-18cb05938a8a1621c267a0c3a3efc03382061681.tar.xz
Revert "Fix OpenSearchEngine crash call"
This reverts commit 956f75478e7a7c01971c9ef84305d97af8a2e21f.
Diffstat (limited to 'src/opensearch/opensearchmanager.cpp')
-rw-r--r--src/opensearch/opensearchmanager.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/opensearch/opensearchmanager.cpp b/src/opensearch/opensearchmanager.cpp
index 916ac80e..3b960da7 100644
--- a/src/opensearch/opensearchmanager.cpp
+++ b/src/opensearch/opensearchmanager.cpp
@@ -180,11 +180,7 @@ void OpenSearchManager::jobFinished(KJob *job)
if (m_state == REQ_SUGGESTION)
{
- ResponseList suggestionsList;
- if (isSuggestionAvailable())
- {
- suggestionsList = m_activeEngine->parseSuggestion(_typedText, m_jobData);
- }
+ const ResponseList suggestionsList = m_activeEngine->parseSuggestion(_typedText, m_jobData);
emit suggestionsReceived(_typedText, suggestionsList);
idleJob();
return;