mirror of https://github.com/mgba-emu/mgba.git
Qt: Initialize Shortcut::m_direction
This commit is contained in:
parent
b06d178c41
commit
8b67243780
|
@ -56,7 +56,7 @@ private:
|
|||
int m_shortcut = 0;
|
||||
int m_button = -1;
|
||||
int m_axis = -1;
|
||||
GamepadAxisEvent::Direction m_direction;
|
||||
GamepadAxisEvent::Direction m_direction = GamepadAxisEvent::NEUTRAL;
|
||||
};
|
||||
|
||||
class ShortcutController : public QObject {
|
||||
|
|
Loading…
Reference in New Issue