From 0862901b142f36e91b98dbdcb2c36585020bb33d Mon Sep 17 00:00:00 2001 From: Lorn Potter Date: Fri, 12 Jul 2013 12:47:38 +1000 Subject: Initialize active variable in doubletap gesture Fixes flakiness. Change-Id: I6e8beaf5106c4dd1e26c3bf038ba9e394d0f080d Reviewed-by: Sergio Ahumada --- .../sensorgestures/qtsensors/qdoubletapsensorgesturerecognizer.cpp | 1 + 1 file changed, 1 insertion(+) 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) { } -- cgit v1.2.3