summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-09-10 03:42:12 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-09-10 03:42:12 +0200
commit9ebae1ee78e514e7c74d40515dc24ab9726c7252 (patch)
tree29bcaa148ad2f59f23c2c137cea92811a8be7723
parentMerge commit 'refs/merge-requests/2294' of git://gitorious.org/rekonq/mainlin... (diff)
downloadrekonq-9ebae1ee78e514e7c74d40515dc24ab9726c7252.tar.xz
kill currentJob if it yet exists..
-rw-r--r--src/search/opensearchmanager.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/search/opensearchmanager.cpp b/src/search/opensearchmanager.cpp
index 32b0b36f..8e024951 100644
--- a/src/search/opensearchmanager.cpp
+++ b/src/search/opensearchmanager.cpp
@@ -59,6 +59,9 @@ OpenSearchManager::~OpenSearchManager()
{
qDeleteAll(m_enginesMap.values());
m_enginesMap.clear();
+
+ if(m_currentJob)
+ m_currentJob->kill();
}