summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-04-27 10:04:18 (GMT)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-05-11 14:51:58 (GMT)
commitca1add3676fe51f285d16cd0c3bb98ed90e1be65 (patch)
tree4e31289ad6833204c2097cddf6ab799839f6d9f6 /src
parentcee4fb7bd327f4b1aaaa7e541328b4fe19b12d1a (diff)
downloadQt-ca1add3676fe51f285d16cd0c3bb98ed90e1be65.zip
Qt-ca1add3676fe51f285d16cd0c3bb98ed90e1be65.tar.gz
Qt-ca1add3676fe51f285d16cd0c3bb98ed90e1be65.tar.bz2
Forgot to initialize a variable.
Diffstat (limited to 'src')
-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>();