summaryrefslogtreecommitdiffstats
path: root/examples/animation/stickman
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-05-18 06:40:15 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-05-18 06:40:15 (GMT)
commit0add74a9339a9d7dda302aa4f31cbb50bdb69908 (patch)
tree9d2c767bee200cb79f81aed24551bcb1989eefb7 /examples/animation/stickman
parentc22504ae79b45268d603c2b2bc66bd2a59c331c7 (diff)
parent3769beacd9126b567f6a42e6c357a7eda004a602 (diff)
downloadQt-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.cpp4
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);
}