qt5base-lts/tests/auto/corelib/statemachine
Kent Hansen 2682165708 Fix typos in QState sorting functions
A QObject can't be a child of itself, so the comparison always
returned false. In practice, this was causing the entry/exit order
of parallel states to be random.

QObject::children() is documented to contain the children in the
order in which they were added, so this fix actually achieves
deterministic behavior.

Task-number: QTBUG-25959
Change-Id: Id3f12d6bfbc249f1d4fed0bafb7d0217093e458e
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
2012-06-04 16:50:24 +02:00
..
qstate Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qstatemachine Fix typos in QState sorting functions 2012-06-04 16:50:24 +02:00
statemachine.pro Moving relevant tests to corelib/statemachine 2011-09-01 12:54:42 +02:00