Fix iterator
svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=906249
This commit is contained in:
parent
931d9a2869
commit
4d64a905ce
@ -136,9 +136,9 @@ QScriptValue qScriptValueFromKConfigGroup(QScriptEngine *engine, const KConfigGr
|
|||||||
}
|
}
|
||||||
|
|
||||||
QMap<QString, QString> entryMap = config.entryMap();
|
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 begin = it;
|
||||||
QMap<QString, QString>::const_iterator end = entryMap.end();
|
QMap<QString, QString>::const_iterator end = entryMap.constEnd();
|
||||||
|
|
||||||
for (it = begin; it != end; ++it) {
|
for (it = begin; it != end; ++it) {
|
||||||
//kDebug() << "setting" << it.key() << "to" << it.value();
|
//kDebug() << "setting" << it.key() << "to" << it.value();
|
||||||
|
Loading…
Reference in New Issue
Block a user