Drop Qt foreach.

Replaced with the ranged-for loop.
Using QT_NO_FOREACH to enforce it.
Qt 5.7.1 required.
This commit is contained in:
Luís Pereira
2017-12-28 12:37:29 +00:00
committed by Alf Gaida
parent acf6556712
commit ba85185c40
5 changed files with 11 additions and 7 deletions
+1 -1
View File
@@ -96,7 +96,7 @@ QStringList ShellCommand::expand(const QStringList & items)
{
QStringList result;
foreach(const QString &item, items ) {
for(const QString &item : items) {
result << expand(item);
}