Qt: Fix build

This commit is contained in:
Vicki Pfau 2019-05-04 19:45:21 -07:00
parent 62b801c851
commit 58684d8cda
1 changed files with 2 additions and 1 deletions

View File

@ -9,6 +9,7 @@
#include "GamepadAxisEvent.h" #include "GamepadAxisEvent.h"
#include <QHash> #include <QHash>
#include <QMap>
#include <QObject> #include <QObject>
#include <QString> #include <QString>
@ -116,7 +117,7 @@ private:
QHash<QString, std::shared_ptr<Shortcut>> m_items; QHash<QString, std::shared_ptr<Shortcut>> m_items;
QHash<int, std::shared_ptr<Shortcut>> m_buttons; 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; QHash<int, std::shared_ptr<Shortcut>> m_heldKeys;
ActionMapper* m_actions = nullptr; ActionMapper* m_actions = nullptr;
ConfigController* m_config = nullptr; ConfigController* m_config = nullptr;