From 201a46269567e69151572e65f4f5fc05376f7437 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 11 Feb 2016 21:33:34 +0300 Subject: Add item shortcut keys into allowed action for onscreen buttons. --- src/gui/models/touchactionmodel.cpp | 2 +- src/gui/touchactiondata.cpp | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'src') 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 }; -- cgit v1.2.3-70-g09d2