mirror of https://github.com/mgba-emu/mgba.git
Qt: Clean up unused private vars
This commit is contained in:
parent
bb71c72bf8
commit
a10800d7e7
|
@ -16,7 +16,6 @@ GamepadAxisEvent::GamepadAxisEvent(int axis, Direction direction, bool isNew, in
|
||||||
, m_axis(axis)
|
, m_axis(axis)
|
||||||
, m_direction(direction)
|
, m_direction(direction)
|
||||||
, m_isNew(isNew)
|
, m_isNew(isNew)
|
||||||
, m_controller(controller)
|
|
||||||
, m_key(GBA_KEY_NONE)
|
, m_key(GBA_KEY_NONE)
|
||||||
{
|
{
|
||||||
ignore();
|
ignore();
|
||||||
|
|
|
@ -36,7 +36,6 @@ private:
|
||||||
int m_axis;
|
int m_axis;
|
||||||
Direction m_direction;
|
Direction m_direction;
|
||||||
bool m_isNew;
|
bool m_isNew;
|
||||||
InputController* m_controller;
|
|
||||||
GBAKey m_key;
|
GBAKey m_key;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,6 @@ QEvent::Type GamepadButtonEvent::s_upType = QEvent::None;
|
||||||
GamepadButtonEvent::GamepadButtonEvent(QEvent::Type pressType, int button, int type, InputController* controller)
|
GamepadButtonEvent::GamepadButtonEvent(QEvent::Type pressType, int button, int type, InputController* controller)
|
||||||
: QEvent(pressType)
|
: QEvent(pressType)
|
||||||
, m_button(button)
|
, m_button(button)
|
||||||
, m_controller(controller)
|
|
||||||
, m_key(GBA_KEY_NONE)
|
, m_key(GBA_KEY_NONE)
|
||||||
{
|
{
|
||||||
ignore();
|
ignore();
|
||||||
|
|
|
@ -28,7 +28,6 @@ private:
|
||||||
static Type s_upType;
|
static Type s_upType;
|
||||||
|
|
||||||
int m_button;
|
int m_button;
|
||||||
InputController* m_controller;
|
|
||||||
GBAKey m_key;
|
GBAKey m_key;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,6 @@ GamepadHatEvent::GamepadHatEvent(QEvent::Type pressType, int hatId, Direction di
|
||||||
: QEvent(pressType)
|
: QEvent(pressType)
|
||||||
, m_hatId(hatId)
|
, m_hatId(hatId)
|
||||||
, m_direction(direction)
|
, m_direction(direction)
|
||||||
, m_controller(controller)
|
|
||||||
, m_key(GBA_KEY_NONE)
|
, m_key(GBA_KEY_NONE)
|
||||||
{
|
{
|
||||||
ignore();
|
ignore();
|
||||||
|
|
|
@ -38,7 +38,6 @@ private:
|
||||||
|
|
||||||
int m_hatId;
|
int m_hatId;
|
||||||
Direction m_direction;
|
Direction m_direction;
|
||||||
InputController* m_controller;
|
|
||||||
GBAKey m_key;
|
GBAKey m_key;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue