qt5base-lts/tests/auto/gui/image/qimage
Marc Mutz 11c2a5b477 tst_QImage: replace QList with constexpr array
"Never use a dynamically-sized container for statically-sized data."

Port the loop from Q_FOREACH (which can't deal with arrays) to ranged
for (which can).

Pick-to: 6.6 6.5
Task-number: QTBUG-115839
Change-Id: I40773a0397b83cce0c803967ee3fd7ae274933d3
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
2023-08-08 16:03:28 +02:00
..
images QImage/Jpeg: decode/encode comment attributes as utf-8 2018-03-18 09:29:06 +00:00
.gitignore Moved gui autotests into new directory structure 2011-09-01 10:59:49 +02:00
CMakeLists.txt CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
tst_qimage.cpp tst_QImage: replace QList with constexpr array 2023-08-08 16:03:28 +02:00