summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);