diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-09-10 03:42:12 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-09-10 03:42:12 +0200 |
commit | 9ebae1ee78e514e7c74d40515dc24ab9726c7252 (patch) | |
tree | 29bcaa148ad2f59f23c2c137cea92811a8be7723 /src/search/opensearchmanager.cpp | |
parent | Merge commit 'refs/merge-requests/2294' of git://gitorious.org/rekonq/mainlin... (diff) | |
download | rekonq-9ebae1ee78e514e7c74d40515dc24ab9726c7252.tar.xz |
kill currentJob if it yet exists..
Diffstat (limited to 'src/search/opensearchmanager.cpp')
-rw-r--r-- | src/search/opensearchmanager.cpp | 3 |
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(); } |