diff options
Diffstat (limited to 'examples/widgets/animation/sub-attaq/boat_p.h')
-rw-r--r-- | examples/widgets/animation/sub-attaq/boat_p.h | 3 |
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 265e706d96..e12cbc74bd 100644 --- a/examples/widgets/animation/sub-attaq/boat_p.h +++ b/examples/widgets/animation/sub-attaq/boat_p.h @@ -68,7 +68,7 @@ class KeyStopTransition : public QKeyEventTransition { public: KeyStopTransition(Boat *b, QEvent::Type t, int k) - : QKeyEventTransition(b, t, k), boat(b), key(k) + : QKeyEventTransition(b, t, k), boat(b) { } protected: @@ -80,7 +80,6 @@ protected: } private: Boat * boat; - int key; }; //These transtion test if we have to move the boat (i.e current speed was 0 or another value) |