diff options
author | Kent Hansen <kent.hansen@nokia.com> | 2012-07-07 04:33:30 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-11 08:42:24 +0200 |
commit | a7d6efb6e3c0f8fddf95d121f856b00d552f3a08 (patch) | |
tree | fcf36eddf14416383c0d882635dcb52c2cf1e324 /src/corelib/statemachine/qstatemachine_p.h | |
parent | 018cd808fd8dbe5ccd88021d50b6b16162ab0631 (diff) |
statemachine: Get rid of hidden start state
The hidden start state was used as a mechanism for performing the
initial transition (to the real initial state,
QStateMachine::setInitialState()), but it mutated the state machine
in a way that causes problems when the root state is a parallel
state group (see future commit).
Change-Id: I41ac4f6bcabf3bec0a412e46282a1373928105a3
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
Diffstat (limited to 'src/corelib/statemachine/qstatemachine_p.h')
-rw-r--r-- | src/corelib/statemachine/qstatemachine_p.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/corelib/statemachine/qstatemachine_p.h b/src/corelib/statemachine/qstatemachine_p.h index 2f57f548b2..c68ff411b1 100644 --- a/src/corelib/statemachine/qstatemachine_p.h +++ b/src/corelib/statemachine/qstatemachine_p.h @@ -127,9 +127,6 @@ public: QState *rootState() const; - QState *startState(); - void removeStartState(); - void clearHistory(); void microstep(QEvent *event, const QList<QAbstractTransition*> &transitionList); @@ -208,7 +205,6 @@ public: #endif State state; - QState *_startState; bool processing; bool processingScheduled; bool stop; |