Change-Id: I1f2a0ef6ab0eae28d1e830107af213df89573aaf
Reviewed-on: http://codereview.qt-project.org/5551
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Leandro T. C. Melo <leandro.melo@nokia.com>
*sharedMap = fullMap;
} else {
const QSet<QString> &shared = QSet<QString>::fromList(controlKey);
- QVariantMap::iterator it = fullMap.begin();
- QVariantMap::iterator eit = fullMap.end();
+ QVariantMap::const_iterator it = fullMap.begin();
+ QVariantMap::const_iterator eit = fullMap.end();
for (; it != eit; ++it) {
const QString &key = it.key();
const QVariant &value = it.value();