diff options
author | Kent Hansen <khansen@trolltech.com> | 2009-04-28 11:10:35 (GMT) |
---|---|---|
committer | Kent Hansen <khansen@trolltech.com> | 2009-04-28 11:10:35 (GMT) |
commit | 77abdfda731e010f8f93eb083478d10c7fd860fb (patch) | |
tree | b6a62893db5cbd9a7533b069d9438191de6f62ab /examples/animation | |
parent | a460bee2b3051bf6a5176b5c620f81ff962a7f53 (diff) | |
download | Qt-77abdfda731e010f8f93eb083478d10c7fd860fb.zip Qt-77abdfda731e010f8f93eb083478d10c7fd860fb.tar.gz Qt-77abdfda731e010f8f93eb083478d10c7fd860fb.tar.bz2 |
compile after api changes
Diffstat (limited to 'examples/animation')
-rw-r--r-- | examples/animation/sub-attaq/states.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/animation/sub-attaq/states.cpp b/examples/animation/sub-attaq/states.cpp index f476f55..b381db7 100644 --- a/examples/animation/sub-attaq/states.cpp +++ b/examples/animation/sub-attaq/states.cpp @@ -140,10 +140,10 @@ void PlayState::onEntry() QFinalState *final = new QFinalState(machine->rootState()); //We win we should reach the final state - winState->addFinishedTransition(final); + winState->addTransition(winState, SIGNAL(finished()), final); //We lost we should reach the final state - lostState->addFinishedTransition(final); + lostState->addTransition(lostState, SIGNAL(finished()), final); machine->start(); } |