qt6-bb10/tests/auto/gui/image
Marc Mutz 29d07101e5 tst_QImageReader: it's a rotate^Wadjacent_find!
Instead of copying a list, sorting it just to check it's sorted, and
making a QSet out of it just to check the size is the same as that of
the list (thereby checking there were no duplicates), simply apply
adjacent_find with greater_equal. If none of the elements is ≥ their
successor, that means all elements are < their successor, and _that_
means the range is sorted and has no duplicates.               q.e.d.

Pick-to: 6.6 6.5
Change-Id: Id73c674ad4e29117370e8fc6af9fdfc690a3fba9
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2023-08-10 06:44:59 +02:00
..
qicoimageformat Fix transparency in 16 bit and 24 bit ico files 2023-07-11 18:35:41 +00:00
qicon QIcon: use fallback also with platform icon engine 2023-07-21 09:22:46 +02:00
qiconhighdpi CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qimage tst_QImage: replace QList with constexpr array 2023-08-08 16:03:28 +02:00
qimageiohandler CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qimagereader tst_QImageReader: it's a rotate^Wadjacent_find! 2023-08-10 06:44:59 +02:00
qimagewriter CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qmovie CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qpicture CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qpixmap CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qpixmapcache CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
CMakeLists.txt tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00