summaryrefslogtreecommitdiff
path: root/src/opensearch/opensearchmanager.cpp
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2011-05-29 10:44:56 +0100
committerAlbert Astals Cid <aacid@kde.org>2011-05-29 10:44:56 +0100
commit68ce178bc5e1028bb2440e0739ff91dc6bc79cfc (patch)
tree1ee4111d1b77207ce9873ddaed193d8a798b432f /src/opensearch/opensearchmanager.cpp
parentSVN_SILENT made messages (.desktop file) (diff)
downloadrekonq-68ce178bc5e1028bb2440e0739ff91dc6bc79cfc.tar.xz
Code janitoring
qDeleteAll knows how to delete values of the map in a better way than calling values add const & to foreach "iterators"
Diffstat (limited to 'src/opensearch/opensearchmanager.cpp')
-rw-r--r--src/opensearch/opensearchmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opensearch/opensearchmanager.cpp b/src/opensearch/opensearchmanager.cpp
index 2b5d24ae..591a4acb 100644
--- a/src/opensearch/opensearchmanager.cpp
+++ b/src/opensearch/opensearchmanager.cpp
@@ -65,7 +65,7 @@ OpenSearchManager::OpenSearchManager(QObject *parent)
OpenSearchManager::~OpenSearchManager()
{
- qDeleteAll(m_engineCache.values());
+ qDeleteAll(m_engineCache);
m_engineCache.clear();
m_engines.clear();
}