Commit 383fe965 authored by Laurent Montel's avatar Laurent Montel 😁

Add info about for(...:...)

parent e8dbbd11
......@@ -105,7 +105,7 @@ void ArchiveMailManager::removeCollectionId(Akonadi::Collection::Id id)
group.deleteGroup();
mConfig->sync();
mConfig->reparseConfiguration();
Q_FOREACH (ArchiveMailInfo *info, mListArchiveInfo) {
foreach (ArchiveMailInfo *info, mListArchiveInfo) { //Don't port to for(...:...)
if (info->saveCollectionId() == id) {
mListArchiveInfo.removeAll(info);
}
......
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