summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/widgets/animation/sub-attaq/boat_p.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/widgets/animation/sub-attaq/boat_p.h b/examples/widgets/animation/sub-attaq/boat_p.h
index e12cbc74bd..fc3ba81d63 100644
--- a/examples/widgets/animation/sub-attaq/boat_p.h
+++ b/examples/widgets/animation/sub-attaq/boat_p.h
@@ -118,7 +118,7 @@ private:
{
public:
KeyLaunchTransition(Boat *boat, QEvent::Type type, int key)
- : QKeyEventTransition(boat, type, key), boat(boat), key(key)
+ : QKeyEventTransition(boat, type, key), boat(boat)
{
}
protected:
@@ -131,7 +131,6 @@ protected:
}
private:
Boat * boat;
- int key;
};
//This state is describing when the boat is moving right