summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gui/kernel/qgesturemanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qgesturemanager.cpp b/src/gui/kernel/qgesturemanager.cpp
index b4939c4..3bdd323 100644
--- a/src/gui/kernel/qgesturemanager.cpp
+++ b/src/gui/kernel/qgesturemanager.cpp
@@ -68,7 +68,7 @@ static const unsigned int MaximumGestureRecognitionTimeout = 2000;
QGestureManager::QGestureManager(QObject *parent)
: QObject(parent), targetWidget(0), eventDeliveryDelayTimeout(300),
delayedPressTimer(0), lastMousePressEvent(QEvent::None, QPoint(), Qt::NoButton, 0, 0),
- state(NotGesture)
+ lastGestureId(0), state(NotGesture)
{
qRegisterMetaType<Qt::DirectionType>();
qRegisterMetaType<Qt::GestureState>();