qt5base-lts/tests/auto/gui
Marc Mutz 8ad200dcb4 tst_QImageWriter: clean up
- port Q_FOREACH to C++11 range-for
- port uses of inefficient QLists to QVector or C arrays
- port uses of dynamic containers with static content, to constexpr
  C arrays
- fix algorithmic mistakes:
  * use adjacent_find with greater<> to emulate C++11 std::is_sorted
    instead of sorting the range and comparing it with the original
    (and not even using stable_sort to do this).
  * use std::unique == end() to detect absence of duplicates instead
    of poplulating a QSet and comparing its size with that of the
    original range.
  * use a simple QCOMPARE instead of populating a QSet with statically-
    known content, removing known options to be able to check that the
    remaining options are unknown

Fixes errors pointed out by my tree's static checks.

Change-Id: I935dbc21d56b55889d96aaf6ec179624c6ce9047
Reviewed-by: David Faure <david.faure@kdab.com>
2017-01-06 13:31:26 +00:00
..
image tst_QImageWriter: clean up 2017-01-06 13:31:26 +00:00
itemmodels QStandardItemModel: Reset the flags on clear() 2016-02-17 11:39:13 +00:00
kernel Merge remote-tracking branch 'origin/5.8' into dev 2016-12-16 16:38:33 +01:00
math3d Updated license headers 2016-01-21 18:55:18 +00:00
painting Merge remote-tracking branch 'origin/5.8' into dev 2016-12-13 09:39:20 +01:00
qopengl Merge remote-tracking branch 'origin/5.7' into 5.8 2016-11-01 06:02:55 +01:00
qopenglconfig Merge remote-tracking branch 'origin/5.6' into 5.7 2016-08-25 16:12:11 +02:00
text Merge remote-tracking branch 'origin/5.8' into dev 2016-12-13 09:39:20 +01:00
util Fix test for WinRT 2016-09-23 07:20:53 +00:00
gui.pro Clean up some conditions in our pro files 2016-11-14 19:22:17 +00:00