diff options
author | Eskil Abrahamsen Blomfeldt <eblomfel@trolltech.com> | 2009-04-29 14:40:31 (GMT) |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eblomfel@trolltech.com> | 2009-04-29 14:40:31 (GMT) |
commit | 9371a8069c4c0e0a00172980004c967d5dd296fd (patch) | |
tree | 7ecda38c78322bfe1f3c621266878ed949cf01a4 /examples/statemachine | |
parent | 085c0bcc85cea0d44a2a63fd7f8ebf6c4bfcaf4c (diff) | |
download | Qt-9371a8069c4c0e0a00172980004c967d5dd296fd.zip Qt-9371a8069c4c0e0a00172980004c967d5dd296fd.tar.gz Qt-9371a8069c4c0e0a00172980004c967d5dd296fd.tar.bz2 |
Compile against new QState::ChildMode API.
Diffstat (limited to 'examples/statemachine')
-rw-r--r-- | examples/statemachine/errorstate/mainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/statemachine/errorstate/mainwindow.cpp b/examples/statemachine/errorstate/mainwindow.cpp index 8a15e8b..e04ca94 100644 --- a/examples/statemachine/errorstate/mainwindow.cpp +++ b/examples/statemachine/errorstate/mainwindow.cpp @@ -137,7 +137,7 @@ void MainWindow::init() stoppedState->setInitialState(hs); - m_runningState = new QState(QState::ParallelGroup, m_machine->rootState()); + m_runningState = new QState(QState::ParallelStates, m_machine->rootState()); m_runningState->setObjectName("runningState"); m_runningState->assignProperty(addTankAction, "enabled", false); m_runningState->assignProperty(runGameAction, "enabled", false); |