summaryrefslogtreecommitdiffstats
path: root/examples/widgets
diff options
context:
space:
mode:
authorJędrzej Nowacki <jedrzej.nowacki@digia.com>2014-03-06 10:25:52 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-06 12:21:14 +0100
commit27015857223fe59ed7a164c1837fcd57e1b625ee (patch)
tree7ebe4ab013271c3c67bdd05ac05b3222d885502d /examples/widgets
parent1664458f6327e9f1b612cd8058f840f90f822b61 (diff)
Fix warning about unused member
sub-attaq/boat_p.h:134:9: warning: private field 'key' is not used [-Wunused-private-field] Change-Id: I3f4cb1325aaac71d2bf0e7807381742937d173f7 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Diffstat (limited to 'examples/widgets')
-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