summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2019-08-11 10:32:53 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2019-08-11 10:33:41 +0200
commit657f6d3c125d852c25c1233f473782eb81e03ab9 (patch)
treeff74e9991eaacd3731a8ec32e7d5a651185657ed /tests
parent2762073738d0343b2ba6e38624de2040c34bc393 (diff)
parent11f8dc2d83260280b1473d731bce782153baf362 (diff)
downloadqtimageformats-657f6d3c125d852c25c1233f473782eb81e03ab9.tar.gz
Merge "Merge remote-tracking branch 'origin/dev' into wip/qt6"
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 f1db377..29d85df 100644
--- a/tests/auto/tiff/tst_qtiff.cpp
+++ b/tests/auto/tiff/tst_qtiff.cpp
@@ -496,7 +496,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));
}