diff options
author | Eskil Abrahamsen Blomfeldt <eblomfel@trolltech.com> | 2009-05-07 08:20:25 (GMT) |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eblomfel@trolltech.com> | 2009-05-07 08:20:25 (GMT) |
commit | 7bfe66e825e98b049dfdb0b6008e3f334909eec7 (patch) | |
tree | 83d9f7295efc4da2303d072f7d1dfa4498d7c4b0 /src/corelib/statemachine/qabstractstate_p.h | |
parent | ed900ca77ad3c3e337054346213dc38a58137818 (diff) | |
download | Qt-7bfe66e825e98b049dfdb0b6008e3f334909eec7.zip Qt-7bfe66e825e98b049dfdb0b6008e3f334909eec7.tar.gz Qt-7bfe66e825e98b049dfdb0b6008e3f334909eec7.tar.bz2 |
Make sure machine enters error state if history state has no default state
Keep searching the parent hierarchy for error states even if a state in the
hierarchy cannot be cast to QState. Also make currentErrorState==0 an assert,
since there should always be an error state (we default to the special
initialErrorState if we are unable to find anything else), otherwise the
machine might get into an undefined state (e.g. configuration is empty)
Diffstat (limited to 'src/corelib/statemachine/qabstractstate_p.h')
0 files changed, 0 insertions, 0 deletions