qt5base-lts/tests/auto/widgets/styles
Giuseppe D'Angelo c453571d75 CSS parser: fix the pseudo-classes array length
The pseudoclass array is declared with length "NumPseudos - 1",
but the declaration has actually 44 elements, not 45.

This caused a zero-initialized last element to be silently appended
to the array. The zero-initialized element broke the sorting
of the array, which in turn broke std::lower_bound usage
(although of course the problem was there from before switching
to the standard library algorithms).

Task-number: QTBUG-36933
Change-Id: I8a02891fc36761b6ae72d15a0a8d6c6a96813947
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
2014-02-26 14:18:48 +01:00
..
qmacstyle Test password mask delay and characters on Mac. 2013-07-11 10:56:49 +02:00
qstyle Use QFINDTESTDATA on tst_QStyle instead of SRCDIR 2013-06-07 22:18:33 +02:00
qstyleoption QtWidgets tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-28 02:02:14 +01:00
qstylesheetstyle CSS parser: fix the pseudo-classes array length 2014-02-26 14:18:48 +01:00
styles.pro Fix build of tests/ on Windows CE 2012-09-10 14:09:45 +02:00