diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-05-18 06:40:15 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-05-18 06:40:15 (GMT) |
commit | 0add74a9339a9d7dda302aa4f31cbb50bdb69908 (patch) | |
tree | 9d2c767bee200cb79f81aed24551bcb1989eefb7 /examples/animation/stickman | |
parent | c22504ae79b45268d603c2b2bc66bd2a59c331c7 (diff) | |
parent | 3769beacd9126b567f6a42e6c357a7eda004a602 (diff) | |
download | Qt-0add74a9339a9d7dda302aa4f31cbb50bdb69908.zip Qt-0add74a9339a9d7dda302aa4f31cbb50bdb69908.tar.gz Qt-0add74a9339a9d7dda302aa4f31cbb50bdb69908.tar.bz2 |
Merge branch 'kinetic-declarativeui' of git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
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 b22af55..423d7ad 100644 --- a/examples/animation/stickman/lifecycle.cpp +++ b/examples/animation/stickman/lifecycle.cpp @@ -69,7 +69,7 @@ public: { } - virtual bool eventTest(QEvent *e) const + virtual bool eventTest(QEvent *e) { if (QSignalTransition::eventTest(e)) { QVariant key = static_cast<QSignalEvent*>(e)->arguments().at(0); @@ -92,7 +92,7 @@ public: startTimer(1000); } - virtual bool eventTest(QEvent *e) const + virtual bool eventTest(QEvent *e) { return QEventTransition::eventTest(e) && ((qrand() % 50) == 0); } |