diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-12-14 02:20:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-12-14 02:20:19 +0300 |
commit | c15c41999f6c02c5d08e5efc779011b163101470 (patch) | |
tree | d75cd308c97ffa82cd3b1f486aa55443f783d8b9 /src/gui | |
parent | 0efc9d93b7ef5e3a9169b2a68a1f655a0fd9979f (diff) | |
download | manaplus-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.cpp | 2 | ||||
-rw-r--r-- | src/gui/touchactiondata.h | 1 |
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 |