Fix iterator

svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=906249
This commit is contained in:
Laurent Montel 2009-01-05 20:02:11 +00:00
parent 931d9a2869
commit 4d64a905ce

View File

@ -136,9 +136,9 @@ QScriptValue qScriptValueFromKConfigGroup(QScriptEngine *engine, const KConfigGr
}
QMap<QString, QString> entryMap = config.entryMap();
QMap<QString, QString>::const_iterator it = entryMap.begin();
QMap<QString, QString>::const_iterator it = entryMap.constBegin();
QMap<QString, QString>::const_iterator begin = it;
QMap<QString, QString>::const_iterator end = entryMap.end();
QMap<QString, QString>::const_iterator end = entryMap.constEnd();
for (it = begin; it != end; ++it) {
//kDebug() << "setting" << it.key() << "to" << it.value();