summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@nokia.com>2009-10-03 10:34:25 (GMT)
committerVolker Hilsheimer <volker.hilsheimer@nokia.com>2009-10-03 10:34:25 (GMT)
commit9ae9b387ef4db7241f1c18b9f6250c91b55aef48 (patch)
treee2de29545147684baac47ee0f9d9a44346481d73
parente5e76c802d2f387d518534219d2296f3852a08dd (diff)
downloadQt-9ae9b387ef4db7241f1c18b9f6250c91b55aef48.zip
Qt-9ae9b387ef4db7241f1c18b9f6250c91b55aef48.tar.gz
Qt-9ae9b387ef4db7241f1c18b9f6250c91b55aef48.tar.bz2
Compile Rogue example again after state machchine event type rename.
-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 b919360..3452155 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();