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 a91ebd6a authored by Laurent Montel's avatar Laurent Montel 😁

Port to for(...:..)

parent 2ce12847
......@@ -131,12 +131,12 @@ private:
void cleanupBenchmark(const Collection::List &collections)
{
Collection::List baseCols;
Q_FOREACH (const Collection &col, collections) {
for (const Collection &col : collections) {
if (col.remoteId().startsWith(QLatin1String("/baseCol")) || col.remoteId() == QLatin1String("/shared")) {
baseCols << col;
}
}
Q_FOREACH (const Collection &col, baseCols) {
for (const Collection &col : baseCols) {
CollectionDeleteJob *del = new CollectionDeleteJob(col);
AKVERIFYEXEC(del);
}
......
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