summaryrefslogtreecommitdiffstats
path: root/examples/widgets/animation/sub-attaq/boat_p.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@digia.com>2013-03-06 15:48:43 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-03-06 21:50:28 +0100
commitc2530a0f59f6bc7dc31e72a06851b8821c9ee5a2 (patch)
tree341bf06364ac14e04ef4883277285be909e4c6d6 /examples/widgets/animation/sub-attaq/boat_p.h
parente1d39c6bfcd940b9d68a15f3dcbfce0121afdab2 (diff)
Fix warnings about unused variables in sub-attaq-example (CLANG).
Change-Id: Icad46a03a8d5875c128bd1f1bc97127e0ee05622 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Diffstat (limited to 'examples/widgets/animation/sub-attaq/boat_p.h')
-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 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)