Commit b8df8805 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use iterator

parent 0e15583d
......@@ -60,10 +60,10 @@ void ImportImapSettingsAkonadiCheckJob::start()
void ImportImapSettingsAkonadiCheckJob::loadSieveServerSettings()
{
QMapIterator<QString, QString> i(mSieveServerLst);
while (i.hasNext()) {
i.next();
QMap<QString, QString>::const_iterator i = mSieveServerLst.constBegin();
while (i != mSieveServerLst.constEnd()) {
importSettings(i.key(), i.value());
++i;
}
checkNoSettingsImported();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment