diff options
author | Lorn Potter <lorn.potter@jollamobile.com> | 2013-07-12 12:47:38 +1000 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-07-12 19:53:52 +0200 |
commit | 0862901b142f36e91b98dbdcb2c36585020bb33d (patch) | |
tree | 2603b1fdeab687ce8e32086c9045d128164b0b3a | |
parent | e89291bc2d45b970c66b816a4f781925406f0bf5 (diff) | |
download | qtsensors-0862901b142f36e91b98dbdcb2c36585020bb33d.tar.gz qtsensors-0862901b142f36e91b98dbdcb2c36585020bb33d.tar.bz2 qtsensors-0862901b142f36e91b98dbdcb2c36585020bb33d.zip |
Initialize active variable in doubletap gesture
Fixes flakiness.
Change-Id: I6e8beaf5106c4dd1e26c3bf038ba9e394d0f080d
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
-rw-r--r-- | src/plugins/sensorgestures/qtsensors/qdoubletapsensorgesturerecognizer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/sensorgestures/qtsensors/qdoubletapsensorgesturerecognizer.cpp b/src/plugins/sensorgestures/qtsensors/qdoubletapsensorgesturerecognizer.cpp index dcb7b89..08b5848 100644 --- a/src/plugins/sensorgestures/qtsensors/qdoubletapsensorgesturerecognizer.cpp +++ b/src/plugins/sensorgestures/qtsensors/qdoubletapsensorgesturerecognizer.cpp @@ -45,6 +45,7 @@ QT_BEGIN_NAMESPACE QDoubleTapSensorGestureRecognizer::QDoubleTapSensorGestureRecognizer(QObject *parent) : QSensorGestureRecognizer(parent) + , active(0) { } |