From 9ae9b387ef4db7241f1c18b9f6250c91b55aef48 Mon Sep 17 00:00:00 2001 From: Volker Hilsheimer Date: Sat, 3 Oct 2009 12:34:25 +0200 Subject: Compile Rogue example again after state machchine event type rename. --- examples/statemachine/rogue/movementtransition.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') 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(event)->event()->type() == QEvent::KeyPress) { QEvent *wrappedEvent = static_cast(event)->event(); -- cgit v1.2.3