qt5base-lts/tests/auto
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
..
android Update copyright headers 2015-02-11 06:49:51 +00:00
bic/data bic: Add 5.{1,2,3,4}.0 bic data for linux-gcc-amd64 2015-02-14 06:54:20 +00:00
cmake CMake: Fix regression with quoted OPTIONS parameter 2015-03-11 07:31:33 +00:00
compilerwarnings/data Fixed license headers 2015-02-17 18:46:09 +00:00
concurrent Fix build of tests on QNX. 2015-03-14 07:05:34 +00:00
corelib Fix less-than comparison for QStandardItem and QSortFilterProxyModel with invalid data. 2015-06-11 13:29:23 +00:00
dbus Make sure we don't call dbus_connection_can_send_type on too old libdbus 2015-05-26 07:20:35 +00:00
gui Fix less-than comparison for QStandardItem and QSortFilterProxyModel with invalid data. 2015-06-11 13:29:23 +00:00
guiapplauncher Fix path to examples part of tst_GuiAppLauncher 2015-02-13 07:28:15 +00:00
installed_cmake Add a unit test for testing Qt in its install location. 2013-07-02 23:08:54 +02:00
network fix usage of wince scope 2015-06-05 10:29:10 +00:00
opengl Update copyright headers 2015-02-11 06:49:51 +00:00
other fix usage of wince scope 2015-06-05 10:29:10 +00:00
printsupport Update copyright headers 2015-02-11 06:49:51 +00:00
shared Update copyright headers 2015-02-11 06:49:51 +00:00
sql fix usage of wince scope 2015-06-05 10:29:10 +00:00
testlib TestCase: Also check main source path when looking for test data 2015-05-05 07:06:52 +00:00
tools moc: Fix crash parsing invalid macro invocation 2015-05-30 08:37:11 +00:00
widgets QSwipeGestureRecognizer: Allow for small direction changes. 2015-06-07 20:10:12 +00:00
xml Update copyright headers 2015-02-11 06:49:51 +00:00
auto.pro fix usage of wince scope 2015-06-05 10:29:10 +00:00
network-settings.h Update copyright headers 2015-02-11 06:49:51 +00:00
qtest-config.h Update copyright headers 2015-02-11 06:49:51 +00:00
test.pl Update copyright headers 2015-02-11 06:49:51 +00:00