qt5base-lts/tests/auto/gui
Friedemann Kleint 56d62345ad Fix less-than comparison for QStandardItem and QSortFilterProxyModel with invalid data.
Previously, QStandardItem::operator<() returned true when both
items had invalid data. With MSVC in debug mode (checked
iterators/STL), this triggered an assert in
tst_QStandardItem::sortChildren() since that verifies
that !(b < a) when a < b:

Debug Assertion Failed!
Line: 3006
Expression: invalid operator<

Introduce a stable sort order for invalid items such that
other items are always less than invalid items and comparing
invalid items returns false (indicating equivalence).

Change-Id: Ica0f0d9f001c86973b1941dbcc1faf282e4c47df
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
2015-06-11 13:29:23 +00:00
..
image fix usage of wince scope 2015-06-05 10:29:10 +00:00
itemmodels Fix less-than comparison for QStandardItem and QSortFilterProxyModel with invalid data. 2015-06-11 13:29:23 +00:00
kernel fix usage of wince scope 2015-06-05 10:29:10 +00:00
math3d Introduce QQuaternion::fromDirection() 2015-04-07 13:07:48 +00:00
painting Revert "Remove separate SSE4 unpremultiply function" 2015-04-23 09:25:28 +00:00
qopengl Update copyright headers 2015-02-11 06:49:51 +00:00
qopenglconfig Add matching by GL_VENDOR to QOpenGLConfig 2015-04-16 16:47:43 +00:00
text Ensure that CSS rules are inherited from the parent tags 2015-03-25 11:55:47 +00:00
util Update copyright headers 2015-02-11 06:49:51 +00:00
gui.pro Add qopenglconfig test. 2015-02-02 23:05:41 +00:00