aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/snippets/tst_snippets.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/snippets/tst_snippets.cpp')
-rw-r--r--tests/auto/snippets/tst_snippets.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/snippets/tst_snippets.cpp b/tests/auto/snippets/tst_snippets.cpp
index fb581b90..6ca9e72c 100644
--- a/tests/auto/snippets/tst_snippets.cpp
+++ b/tests/auto/snippets/tst_snippets.cpp
@@ -101,7 +101,7 @@ void tst_Snippets::screenshots()
QVERIFY(QTest::qWaitForWindowActive(&view));
bool generateScreenshot = true;
- foreach (const QString &baseName, nonVisualSnippets) {
+ for (const QString &baseName : qAsConst(nonVisualSnippets)) {
if (input.contains(baseName)) {
generateScreenshot = false;
break;