summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-05-19 00:18:06 +0200
committerMontel Laurent <[email protected]>2017-05-19 00:18:06 +0200
commit383fe965892d591969686b15c7db45e64dc99e58 (patch)
tree353d7b540a535e17dd971e434ed050864e966b59
parente8dbbd11b388bc3449a5adfb9987b2498d40dbdd (diff)
Add info about for(...:...)
-rw-r--r--agents/archivemailagent/archivemailmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/agents/archivemailagent/archivemailmanager.cpp b/agents/archivemailagent/archivemailmanager.cpp
index 603d75f..77f410f 100644
--- a/agents/archivemailagent/archivemailmanager.cpp
+++ b/agents/archivemailagent/archivemailmanager.cpp
@@ -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);
}