qt5base-lts/tests/auto/corelib/statemachine/qstatemachine
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
..
qstatemachine.pro Make qstatemachine autotest build without widgets 2012-06-07 00:38:41 +02:00
tst_qstatemachine.cpp statemachine: Purge restorable properties when they are restored 2012-07-10 06:20:31 +02:00