diff options
Diffstat (limited to 'tests/auto/qml/parserstress/tst_parserstress.cpp')
-rw-r--r-- | tests/auto/qml/parserstress/tst_parserstress.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/qml/parserstress/tst_parserstress.cpp b/tests/auto/qml/parserstress/tst_parserstress.cpp index 99af0247a8..a881d12294 100644 --- a/tests/auto/qml/parserstress/tst_parserstress.cpp +++ b/tests/auto/qml/parserstress/tst_parserstress.cpp @@ -1,5 +1,5 @@ // Copyright (C) 2016 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 <qtest.h> #include <QQmlEngine> @@ -41,9 +41,9 @@ QFileInfoList tst_parserstress::findJSFiles(const QDir &d) rv << fileInfo; } - QStringList dirs = d.entryList(QDir::Dirs | QDir::NoDotAndDotDot | + const QStringList dirs = d.entryList(QDir::Dirs | QDir::NoDotAndDotDot | QDir::NoSymLinks); - foreach (const QString &dir, dirs) { + for (const QString &dir : dirs) { QDir sub = d; sub.cd(dir); rv << findJSFiles(sub); |