diff options
Diffstat (limited to 'tests/auto/qml/qqmlextensionplugin/tst_qqmlextensionplugin.cpp')
-rw-r--r-- | tests/auto/qml/qqmlextensionplugin/tst_qqmlextensionplugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qml/qqmlextensionplugin/tst_qqmlextensionplugin.cpp b/tests/auto/qml/qqmlextensionplugin/tst_qqmlextensionplugin.cpp index b8e0b01f6d..5f299f7b91 100644 --- a/tests/auto/qml/qqmlextensionplugin/tst_qqmlextensionplugin.cpp +++ b/tests/auto/qml/qqmlextensionplugin/tst_qqmlextensionplugin.cpp @@ -1,5 +1,5 @@ // Copyright (C) 2017 The Qt Company Ltd. -// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only #include <QtCore> #include <QtTest> @@ -75,7 +75,7 @@ void tst_qqmlextensionplugin::iidCheck_data() files = removeDuplicates(std::move(files)); QTest::addColumn<QString>("filePath"); - foreach (const QString &file, files) { + for (const QString &file: std::as_const(files)) { QFileInfo fileInfo(file); QTest::newRow(fileInfo.baseName().toLatin1().data()) << fileInfo.absoluteFilePath(); } |