From c15c41999f6c02c5d08e5efc779011b163101470 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 14 Dec 2015 02:20:19 +0300 Subject: Move constant touchActionDataSize into touchactionmodel.cpp --- src/gui/models/touchactionmodel.cpp | 2 ++ src/gui/touchactiondata.h | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gui') 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 -- cgit v1.2.3-70-g09d2