summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eblomfel@trolltech.com>2009-04-29 14:40:31 (GMT)
committerEskil Abrahamsen Blomfeldt <eblomfel@trolltech.com>2009-04-29 14:40:31 (GMT)
commit9371a8069c4c0e0a00172980004c967d5dd296fd (patch)
tree7ecda38c78322bfe1f3c621266878ed949cf01a4 /examples
parent085c0bcc85cea0d44a2a63fd7f8ebf6c4bfcaf4c (diff)
downloadQt-9371a8069c4c0e0a00172980004c967d5dd296fd.zip
Qt-9371a8069c4c0e0a00172980004c967d5dd296fd.tar.gz
Qt-9371a8069c4c0e0a00172980004c967d5dd296fd.tar.bz2
Compile against new QState::ChildMode API.
Diffstat (limited to 'examples')
-rw-r--r--examples/statemachine/errorstate/mainwindow.cpp2
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);