qt5base-lts/tests/auto/corelib/statemachine
Kent Hansen 2f18e72762 statemachine: Purge restorable properties when they are restored
Previously, a registered restorable property would only be
unregistered if the property was animated (see
QStateMachinePrivate::_q_animationFinished()).
But if a property is set directly, it should also be unregistered;
otherwise, the state machine would use the previously saved (stale)
value the next time that property should be restored.

Change-Id: I5d246aa5355ddd0ba5f81b0186a9f0e4f3bbaa3f
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
2012-07-10 06:20:31 +02:00
..
qstate Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qstatemachine statemachine: Purge restorable properties when they are restored 2012-07-10 06:20:31 +02:00
statemachine.pro Moving relevant tests to corelib/statemachine 2011-09-01 12:54:42 +02:00