Qt: Fix build
Vicki Pfau vi@endrift.com
Sat, 04 May 2019 19:45:21 -0700
1 files changed,
2 insertions(+),
1 deletions(-)
M
src/platform/qt/ShortcutController.h
→
src/platform/qt/ShortcutController.h
@@ -9,6 +9,7 @@ #include "ActionMapper.h"
#include "GamepadAxisEvent.h" #include <QHash> +#include <QMap> #include <QObject> #include <QString>@@ -116,7 +117,7 @@ void updateKey(std::shared_ptr<Shortcut> item, int keySequence);
QHash<QString, std::shared_ptr<Shortcut>> m_items; QHash<int, std::shared_ptr<Shortcut>> m_buttons; - QHash<std::pair<int, GamepadAxisEvent::Direction>, std::shared_ptr<Shortcut>> m_axes; + QMap<std::pair<int, GamepadAxisEvent::Direction>, std::shared_ptr<Shortcut>> m_axes; QHash<int, std::shared_ptr<Shortcut>> m_heldKeys; ActionMapper* m_actions = nullptr; ConfigController* m_config = nullptr;