Fix Krazy warnings about values or keys iteration in various places.

Change-Id: Iced108cc7fc74f6ce5501c59db7090fea21cb87a
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
Friedemann Kleint
2013-03-14 14:19:23 +01:00
parent 9b89cad5fe
commit efe98de840
5 changed files with 24 additions and 15 deletions

View File

@@ -459,8 +459,8 @@ ActionManagerPrivate::~ActionManagerPrivate()
// first delete containers to avoid them reacting to command deletion
foreach (ActionContainerPrivate *container, m_idContainerMap)
disconnect(container, SIGNAL(destroyed()), this, SLOT(containerDestroyed()));
qDeleteAll(m_idContainerMap.values());
qDeleteAll(m_idCmdMap.values());
qDeleteAll(m_idContainerMap);
qDeleteAll(m_idCmdMap);
}
QDebug operator<<(QDebug d, const Context &context)