qt5base-lts/tests/auto/corelib/io/qdir
Ahmad Samir 019554a399 tst_QDir: compile with QT_NO_FOREACH
Each loop was iterating over temporary containers, so use a const auto
variable to hold it and use ranged-for

Drive-by change: make the for-loop variable a const& (QString,
QFileInfo).

Task-number: QTBUG-115839
Change-Id: Idffaedb8e2e8782a0f4f907995f62f3c0de44bba
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2023-08-19 16:28:53 +03:00
..
entrylist Moving relevant tests to corelib/io 2011-08-31 10:08:38 +02:00
resources/entryList Moving relevant tests to corelib/io 2011-08-31 10:08:38 +02:00
searchdir Moving relevant tests to corelib/io 2011-08-31 10:08:38 +02:00
testData Moving relevant tests to corelib/io 2011-08-31 10:08:38 +02:00
testdir tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00
types Moving relevant tests to corelib/io 2011-08-31 10:08:38 +02:00
.gitignore Moving relevant tests to corelib/io 2011-08-31 10:08:38 +02:00
android_testdata.qrc Android: Fix QDir tests 2014-12-22 09:26:49 +01:00
CMakeLists.txt CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
Info.plist Remove CFBundleGetInfoString from Info.plist templates 2019-10-04 13:09:34 +00:00
tst_qdir.cpp tst_QDir: compile with QT_NO_FOREACH 2023-08-19 16:28:53 +03:00