summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-14 02:20:19 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-14 02:20:19 +0300
commitc15c41999f6c02c5d08e5efc779011b163101470 (patch)
treed75cd308c97ffa82cd3b1f486aa55443f783d8b9 /src/gui
parent0efc9d93b7ef5e3a9169b2a68a1f655a0fd9979f (diff)
downloadmanaplus-c15c41999f6c02c5d08e5efc779011b163101470.tar.gz
manaplus-c15c41999f6c02c5d08e5efc779011b163101470.tar.bz2
manaplus-c15c41999f6c02c5d08e5efc779011b163101470.tar.xz
manaplus-c15c41999f6c02c5d08e5efc779011b163101470.zip
Move constant touchActionDataSize into touchactionmodel.cpp
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/models/touchactionmodel.cpp2
-rw-r--r--src/gui/touchactiondata.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/models/touchactionmodel.cpp b/src/gui/models/touchactionmodel.cpp
index 7daff84ca..0f4e7cf86 100644
--- a/src/gui/models/touchactionmodel.cpp
+++ b/src/gui/models/touchactionmodel.cpp
@@ -27,6 +27,8 @@
#include "debug.h"
+const int touchActionDataSize = 4;
+
static class SortTouchActionFunctor final
{
public:
diff --git a/src/gui/touchactiondata.h b/src/gui/touchactiondata.h
index 14f21af93..266452d2d 100644
--- a/src/gui/touchactiondata.h
+++ b/src/gui/touchactiondata.h
@@ -23,7 +23,6 @@
struct SetupActionData;
-const int touchActionDataSize = 4;
extern SetupActionData *const touchActionData[];
#endif // GUI_TOUCHACTIONDATA_H