summaryrefslogtreecommitdiffstats
path: root/tests/auto/tiff/tst_qtiff.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/tiff/tst_qtiff.cpp')
-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));
}