summaryrefslogtreecommitdiffstats
path: root/examples/animation/stickman
diff options
context:
space:
mode:
authorKent Hansen <khansen@trolltech.com>2009-04-29 15:03:27 (GMT)
committerKent Hansen <khansen@trolltech.com>2009-04-29 15:06:40 (GMT)
commitb599036b8cf4eda2a12a0127a484dff659e594b8 (patch)
treeff7a811f2198eda7b34adb27f43df8cc37b93b84 /examples/animation/stickman
parent9371a8069c4c0e0a00172980004c967d5dd296fd (diff)
downloadQt-b599036b8cf4eda2a12a0127a484dff659e594b8.zip
Qt-b599036b8cf4eda2a12a0127a484dff659e594b8.tar.gz
Qt-b599036b8cf4eda2a12a0127a484dff659e594b8.tar.bz2
kill QStateMachine::animationsFinished(), introduce QState::polished()
Diffstat (limited to 'examples/animation/stickman')
-rw-r--r--examples/animation/stickman/lifecycle.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/animation/stickman/lifecycle.cpp b/examples/animation/stickman/lifecycle.cpp
index df69d47..b22af55 100644
--- a/examples/animation/stickman/lifecycle.cpp
+++ b/examples/animation/stickman/lifecycle.cpp
@@ -203,14 +203,14 @@ QState *LifeCycle::makeState(QState *parentState, const QString &animationFileNa
topLevel->setInitialState(frameState);
} else {
connectByAnimation(previousState, frameState,
- new QSignalTransition(m_machine, SIGNAL(animationsFinished())));
+ new QSignalTransition(previousState, SIGNAL(polished())));
}
previousState = frameState;
}
// Loop
connectByAnimation(previousState, topLevel->initialState(),
- new QSignalTransition(m_machine, SIGNAL(animationsFinished())));
+ new QSignalTransition(previousState, SIGNAL(polished())));
return topLevel;