summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@nokia.com>2009-10-03 12:34:25 +0200
committerVolker Hilsheimer <volker.hilsheimer@nokia.com>2009-10-03 12:34:25 +0200
commit9ae9b387ef4db7241f1c18b9f6250c91b55aef48 (patch)
treee2de29545147684baac47ee0f9d9a44346481d73 /examples
parente5e76c802d2f387d518534219d2296f3852a08dd (diff)
Compile Rogue example again after state machchine event type rename.
Diffstat (limited to 'examples')
-rw-r--r--examples/statemachine/rogue/movementtransition.h2
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();