diff options
author | Eskil Abrahamsen Blomfeldt <eblomfel@trolltech.com> | 2009-04-23 07:33:52 (GMT) |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eblomfel@trolltech.com> | 2009-04-23 07:33:52 (GMT) |
commit | 44548c4e02061ec14ba126a857665593e1aca642 (patch) | |
tree | 2febcad530c1ef05317b64b1ff568ca243f91198 /examples/animation/stickman/main.cpp | |
parent | f87641584424deed25e2abdadea08c3be94b9ce1 (diff) | |
download | Qt-44548c4e02061ec14ba126a857665593e1aca642.zip Qt-44548c4e02061ec14ba126a857665593e1aca642.tar.gz Qt-44548c4e02061ec14ba126a857665593e1aca642.tar.bz2 |
Remove specific RestorePolicy per state from example. The semantics for this
have changed to something which is more intuitive, so it is no longer useful
for this case.
Diffstat (limited to 'examples/animation/stickman/main.cpp')
-rw-r--r-- | examples/animation/stickman/main.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/animation/stickman/main.cpp b/examples/animation/stickman/main.cpp index 62860ec..8fc0077 100644 --- a/examples/animation/stickman/main.cpp +++ b/examples/animation/stickman/main.cpp @@ -23,7 +23,6 @@ int main(int argc, char **argv) "<li>Press <font color=\"purple\">J</font> to make the stickman jump.</li>" "<li>Press <font color=\"purple\">D</font> to make the stickman dance.</li>" "<li>Press <font color=\"purple\">C</font> to make him chill out.</li>" - "<li>Press <font color=\"purple\">Return</font> to make him return to his original position.</li>" "<li>When you are done, press <font color=\"purple\">Escape</font>.</li>" "</i></p>" "<p>If he is unlucky, the stickman will get struck by lightning, and never jump, dance or chill out again." @@ -46,7 +45,6 @@ int main(int argc, char **argv) view->setSceneRect(scene->sceneRect()); LifeCycle *cycle = new LifeCycle(stickMan, view); - cycle->setResetKey(Qt::Key_Return); cycle->setDeathAnimation("animations/dead"); cycle->addActivity("animations/jumping", Qt::Key_J); |