all repos — mgba @ a10800d7e7c0cd9eedaac6b82e38a1b1c4704022

mGBA Game Boy Advance Emulator

Qt: Clean up unused private vars
Vicki Pfau vi@endrift.com
Mon, 22 Feb 2021 18:13:45 -0800
commit

a10800d7e7c0cd9eedaac6b82e38a1b1c4704022

parent

bb71c72bf8a3324716febc2c4a7515c5f655c59d

M src/platform/qt/GamepadAxisEvent.cppsrc/platform/qt/GamepadAxisEvent.cpp

@@ -16,7 +16,6 @@ : QEvent(Type())

, m_axis(axis) , m_direction(direction) , m_isNew(isNew) - , m_controller(controller) , m_key(GBA_KEY_NONE) { ignore();
M src/platform/qt/GamepadAxisEvent.hsrc/platform/qt/GamepadAxisEvent.h

@@ -36,7 +36,6 @@

int m_axis; Direction m_direction; bool m_isNew; - InputController* m_controller; GBAKey m_key; };
M src/platform/qt/GamepadButtonEvent.cppsrc/platform/qt/GamepadButtonEvent.cpp

@@ -15,7 +15,6 @@

GamepadButtonEvent::GamepadButtonEvent(QEvent::Type pressType, int button, int type, InputController* controller) : QEvent(pressType) , m_button(button) - , m_controller(controller) , m_key(GBA_KEY_NONE) { ignore();
M src/platform/qt/GamepadButtonEvent.hsrc/platform/qt/GamepadButtonEvent.h

@@ -28,7 +28,6 @@ static Type s_downType;

static Type s_upType; int m_button; - InputController* m_controller; GBAKey m_key; };
M src/platform/qt/GamepadHatEvent.cppsrc/platform/qt/GamepadHatEvent.cpp

@@ -16,7 +16,6 @@ GamepadHatEvent::GamepadHatEvent(QEvent::Type pressType, int hatId, Direction direction, int type, InputController* controller)

: QEvent(pressType) , m_hatId(hatId) , m_direction(direction) - , m_controller(controller) , m_key(GBA_KEY_NONE) { ignore();
M src/platform/qt/GamepadHatEvent.hsrc/platform/qt/GamepadHatEvent.h

@@ -38,7 +38,6 @@ static Type s_upType;

int m_hatId; Direction m_direction; - InputController* m_controller; GBAKey m_key; };