Qt: Fix uninitialized members

This commit is contained in:
Vicki Pfau 2023-07-29 18:33:06 -07:00
parent 8b4818c3d8
commit ec52154112

View File

@ -183,8 +183,8 @@ private:
QWidget* m_focusParent;
QHash<uint32_t, std::shared_ptr<InputDriver>> m_inputDrivers;
uint32_t m_gamepadDriver;
uint32_t m_sensorDriver;
uint32_t m_gamepadDriver = 0;
uint32_t m_sensorDriver = 0;
QSet<int> m_activeButtons;
QSet<QPair<int, GamepadAxisEvent::Direction>> m_activeAxes;