summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-11 21:33:34 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-11 21:51:42 +0300
commit201a46269567e69151572e65f4f5fc05376f7437 (patch)
tree0fb6040dfbdaad0e561d04f77ea51645f61a0ff0 /src
parent35d742677a59b4340b24f703bad666f3700b14b5 (diff)
downloadplus-201a46269567e69151572e65f4f5fc05376f7437.tar.gz
plus-201a46269567e69151572e65f4f5fc05376f7437.tar.bz2
plus-201a46269567e69151572e65f4f5fc05376f7437.tar.xz
plus-201a46269567e69151572e65f4f5fc05376f7437.zip
Add item shortcut keys into allowed action for onscreen buttons.
Diffstat (limited to 'src')
-rw-r--r--src/gui/models/touchactionmodel.cpp2
-rw-r--r--src/gui/touchactiondata.cpp4
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
};