summaryrefslogtreecommitdiffstats
path: root/examples/statemachine/helloworld/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/statemachine/helloworld/main.cpp')
-rw-r--r--examples/statemachine/helloworld/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/statemachine/helloworld/main.cpp b/examples/statemachine/helloworld/main.cpp
index 13486d4..fbe34b5 100644
--- a/examples/statemachine/helloworld/main.cpp
+++ b/examples/statemachine/helloworld/main.cpp
@@ -52,7 +52,7 @@ public:
S0(QState *parent = 0)
: QState(parent) {}
- virtual void onEntry()
+ virtual void onEntry(QEvent *)
{
fprintf(stdout, "Hello world!\n");
}