Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 43f838ab authored by Laurent Montel's avatar Laurent Montel 😁

Port to for(...:...)

parent 1fdbacc9
......@@ -273,7 +273,7 @@ void DavCollectionsFetchJob::collectionsFetchFinished(KJob *job)
// don't add this resource if it has already been detected
bool alreadySeen = false;
foreach (const DavCollection &seen, mCollections) {
for (const DavCollection &seen : qAsConst(mCollections)) {
if (seen.url().toDisplayString() == url.toDisplayString()) {
alreadySeen = true;
}
......
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