diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-11 21:33:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-11 21:51:42 +0300 |
commit | 201a46269567e69151572e65f4f5fc05376f7437 (patch) | |
tree | 0fb6040dfbdaad0e561d04f77ea51645f61a0ff0 /src/gui | |
parent | 35d742677a59b4340b24f703bad666f3700b14b5 (diff) | |
download | manaverse-201a46269567e69151572e65f4f5fc05376f7437.tar.gz manaverse-201a46269567e69151572e65f4f5fc05376f7437.tar.bz2 manaverse-201a46269567e69151572e65f4f5fc05376f7437.tar.xz manaverse-201a46269567e69151572e65f4f5fc05376f7437.zip |
Add item shortcut keys into allowed action for onscreen buttons.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/models/touchactionmodel.cpp | 2 | ||||
-rw-r--r-- | src/gui/touchactiondata.cpp | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/models/touchactionmodel.cpp b/src/gui/models/touchactionmodel.cpp index 4245f5dec..c75c5985e 100644 --- a/src/gui/models/touchactionmodel.cpp +++ b/src/gui/models/touchactionmodel.cpp @@ -27,7 +27,7 @@ #include "debug.h" -const int touchActionDataSize = 4; +const int touchActionDataSize = 5; static class SortTouchActionFunctor final { diff --git a/src/gui/touchactiondata.cpp b/src/gui/touchactiondata.cpp index 0df17289a..4ec445228 100644 --- a/src/gui/touchactiondata.cpp +++ b/src/gui/touchactiondata.cpp @@ -23,6 +23,7 @@ #include "input/pages/basic.h" #include "input/pages/chat.h" #include "input/pages/other.h" +#include "input/pages/shortcuts.h" #include "input/pages/windows.h" #include "debug.h" @@ -32,5 +33,6 @@ SetupActionData *const touchActionData[] = setupActionDataBasic, setupActionDataWindows, setupActionDataChat, - setupActionDataOther + setupActionDataOther, + setupActionDataShortcuts }; |