summaryrefslogtreecommitdiffstats
path: root/src/activeqt/control
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eblomfel@trolltech.com>2009-05-07 08:20:25 (GMT)
committerEskil Abrahamsen Blomfeldt <eblomfel@trolltech.com>2009-05-07 08:20:25 (GMT)
commit7bfe66e825e98b049dfdb0b6008e3f334909eec7 (patch)
tree83d9f7295efc4da2303d072f7d1dfa4498d7c4b0 /src/activeqt/control
parented900ca77ad3c3e337054346213dc38a58137818 (diff)
downloadQt-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/activeqt/control')
0 files changed, 0 insertions, 0 deletions