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>bb10
parent
1664458f63
commit
2701585722
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue