diff options
author | Kent Hansen <khansen@trolltech.com> | 2009-04-29 15:03:27 (GMT) |
---|---|---|
committer | Kent Hansen <khansen@trolltech.com> | 2009-04-29 15:06:40 (GMT) |
commit | b599036b8cf4eda2a12a0127a484dff659e594b8 (patch) | |
tree | ff7a811f2198eda7b34adb27f43df8cc37b93b84 /examples/animation/stickman | |
parent | 9371a8069c4c0e0a00172980004c967d5dd296fd (diff) | |
download | Qt-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.cpp | 4 |
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; |