diff options
Diffstat (limited to 'examples/animation/stickman/lifecycle.cpp')
-rw-r--r-- | examples/animation/stickman/lifecycle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/animation/stickman/lifecycle.cpp b/examples/animation/stickman/lifecycle.cpp index f5dca74..250fb85 100644 --- a/examples/animation/stickman/lifecycle.cpp +++ b/examples/animation/stickman/lifecycle.cpp @@ -64,7 +64,7 @@ public: virtual bool eventTest(QEvent *e) { if (QSignalTransition::eventTest(e)) { - QVariant key = static_cast<QSignalEvent*>(e)->arguments().at(0); + QVariant key = static_cast<QStateMachine::SignalEvent*>(e)->arguments().at(0); return (key.toInt() == int(m_key)); } |