diff options
author | Volker Hilsheimer <volker.hilsheimer@nokia.com> | 2009-10-03 12:34:25 +0200 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@nokia.com> | 2009-10-03 12:34:25 +0200 |
commit | 9ae9b387ef4db7241f1c18b9f6250c91b55aef48 (patch) | |
tree | e2de29545147684baac47ee0f9d9a44346481d73 /examples/statemachine | |
parent | e5e76c802d2f387d518534219d2296f3852a08dd (diff) | |
download | qt4-tools-9ae9b387ef4db7241f1c18b9f6250c91b55aef48.tar.gz |
Compile Rogue example again after state machchine event type rename.
Diffstat (limited to 'examples/statemachine')
-rw-r--r-- | examples/statemachine/rogue/movementtransition.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/statemachine/rogue/movementtransition.h b/examples/statemachine/rogue/movementtransition.h index b9193608aa..345215587d 100644 --- a/examples/statemachine/rogue/movementtransition.h +++ b/examples/statemachine/rogue/movementtransition.h @@ -61,7 +61,7 @@ public: //![1] protected: bool eventTest(QEvent *event) { - if (event->type() == QEvent::Wrapped && + if (event->type() == QEvent::StateMachineWrapped && static_cast<QStateMachine::WrappedEvent *>(event)->event()->type() == QEvent::KeyPress) { QEvent *wrappedEvent = static_cast<QStateMachine::WrappedEvent *>(event)->event(); |