diff options
author | Eskil Abrahamsen Blomfeldt <eblomfel@trolltech.com> | 2009-06-23 09:20:34 (GMT) |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eblomfel@trolltech.com> | 2009-06-23 09:23:45 (GMT) |
commit | 6769af5510b963e10dc045630e1ab07fd16ba6d1 (patch) | |
tree | a421e6f74a6e2f327225ad7177c680cca874d5a2 /src/corelib/statemachine/qstatemachine_p.h | |
parent | ce8eaf11405f8acd607f29af5b7daeb57b4abb6d (diff) | |
download | Qt-6769af5510b963e10dc045630e1ab07fd16ba6d1.zip Qt-6769af5510b963e10dc045630e1ab07fd16ba6d1.tar.gz Qt-6769af5510b963e10dc045630e1ab07fd16ba6d1.tar.bz2 |
Remove default error state
Having an implicit default error state in the graph which the user
has not added is unintuitive and ugly. Rather than have a default error
state, we stop execution of the machine and print an error message when
the machine has run-time errors. If a user wishes to prevent errors
from stopping the machine, you can set one or more error states
explicitly.
Diffstat (limited to 'src/corelib/statemachine/qstatemachine_p.h')
-rw-r--r-- | src/corelib/statemachine/qstatemachine_p.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/corelib/statemachine/qstatemachine_p.h b/src/corelib/statemachine/qstatemachine_p.h index f3c6a27..1335b93 100644 --- a/src/corelib/statemachine/qstatemachine_p.h +++ b/src/corelib/statemachine/qstatemachine_p.h @@ -175,7 +175,6 @@ public: QString errorString; QSet<QAbstractState *> pendingErrorStates; QSet<QAbstractState *> pendingErrorStatesForDefaultEntry; - QAbstractState *initialErrorStateForRoot; #ifndef QT_NO_ANIMATION bool animationsEnabled; |