Remove an unused variable
Pick-to: 6.5 6.6 Task-number: QTBUG-109394 Change-Id: Ib1099e3d4091b0b222e405ce25b5e680f0514476 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
parent
b738ad7e3a
commit
48014f99dc
@ -50,7 +50,7 @@ static inline int panTouchPoints()
|
||||
#endif
|
||||
|
||||
QGestureManager::QGestureManager(QObject *parent)
|
||||
: QObject(parent), state(NotGesture), m_lastCustomGestureId(Qt::CustomGesture)
|
||||
: QObject(parent), m_lastCustomGestureId(Qt::CustomGesture)
|
||||
{
|
||||
qRegisterMetaType<Qt::GestureState>();
|
||||
|
||||
|
@ -64,17 +64,6 @@ private:
|
||||
QSet<QGesture *> m_activeGestures;
|
||||
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
|
||||
{
|
||||
QObject* object;
|
||||
|
Loading…
Reference in New Issue
Block a user