summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2019-07-03 21:02:29 +0200
committerMarc Mutz <marc.mutz@kdab.com>2019-07-03 21:48:49 +0200
commit633f77e8e980996b095102ed462ffd228291b7fe (patch)
tree4434be9e81483fe13a3fad3192895b50d95fabe1 /tests
parent9a4a2dd5189e1659bce46eacef513b0c5680bb1e (diff)
Eradicate the last Q_FOREACH and mark the module clean
... of Q_FOREACH, Java-style iterators, and QLinkedList use. Change-Id: Ie751d771f226718ae7b8b19e502cbfb49730af3a Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/tiff/tst_qtiff.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/tiff/tst_qtiff.cpp b/tests/auto/tiff/tst_qtiff.cpp
index b2c5546..a8a0ef2 100644
--- a/tests/auto/tiff/tst_qtiff.cpp
+++ b/tests/auto/tiff/tst_qtiff.cpp
@@ -499,7 +499,7 @@ void tst_qtiff::supportsOption()
allOptions.remove(QImageIOHandler::ImageOption(options.at(i)));
}
- foreach (QImageIOHandler::ImageOption option, allOptions)
+ for (QImageIOHandler::ImageOption option : qAsConst(allOptions))
QVERIFY(!writer.supportsOption(option));
}