Remove an unused variable
Task-number: QTBUG-109394 Change-Id: Ib1099e3d4091b0b222e405ce25b5e680f0514476 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> (cherry picked from commit 48014f99dcda836e86c962455ceda99e3d79702d) Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
dc72617cf2
commit
f638a6d98e
@ -50,7 +50,7 @@ static inline int panTouchPoints()
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
QGestureManager::QGestureManager(QObject *parent)
|
QGestureManager::QGestureManager(QObject *parent)
|
||||||
: QObject(parent), state(NotGesture), m_lastCustomGestureId(Qt::CustomGesture)
|
: QObject(parent), m_lastCustomGestureId(Qt::CustomGesture)
|
||||||
{
|
{
|
||||||
qRegisterMetaType<Qt::GestureState>();
|
qRegisterMetaType<Qt::GestureState>();
|
||||||
|
|
||||||
|
@ -64,17 +64,6 @@ private:
|
|||||||
QSet<QGesture *> m_activeGestures;
|
QSet<QGesture *> m_activeGestures;
|
||||||
QSet<QGesture *> m_maybeGestures;
|
QSet<QGesture *> m_maybeGestures;
|
||||||
|
|
||||||
QT_WARNING_PUSH
|
|
||||||
QT_WARNING_DISABLE_GCC("-Wattributes")
|
|
||||||
[[maybe_unused]] enum State {
|
|
||||||
Gesture,
|
|
||||||
NotGesture,
|
|
||||||
MaybeGesture // this means timers are up and waiting for some
|
|
||||||
// more events, and input events are handled by
|
|
||||||
// gesture recognizer explicitly
|
|
||||||
} state;
|
|
||||||
QT_WARNING_POP
|
|
||||||
|
|
||||||
struct ObjectGesture
|
struct ObjectGesture
|
||||||
{
|
{
|
||||||
QObject* object;
|
QObject* object;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user