diff options
author | Lorn Potter <lorn.potter@jollamobile.com> | 2013-01-20 19:40:59 +1000 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-02-07 19:34:26 +0100 |
commit | f7f1d56c1626f5b8eab5b4d5cac9fa06ee886e59 (patch) | |
tree | 3b5237dfff65083a69abe7f4df613458e2849436 /src/plugins/sensorgestures | |
parent | 6fbba82a7b5d1ae47b376a2d27bc0fed78f280e0 (diff) | |
download | qtsensors-f7f1d56c1626f5b8eab5b4d5cac9fa06ee886e59.tar.gz |
remove nokia and replace with qt-project in plugins
Change-Id: I63fa985991653e4b8465a7fb88acab647d8546e8
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
Diffstat (limited to 'src/plugins/sensorgestures')
-rw-r--r-- | src/plugins/sensorgestures/qtsensors/qtwistsensorgesturerecognizer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/sensorgestures/qtsensors/qtwistsensorgesturerecognizer.cpp b/src/plugins/sensorgestures/qtsensors/qtwistsensorgesturerecognizer.cpp index db0e900..074746e 100644 --- a/src/plugins/sensorgestures/qtsensors/qtwistsensorgesturerecognizer.cpp +++ b/src/plugins/sensorgestures/qtsensors/qtwistsensorgesturerecognizer.cpp @@ -160,7 +160,7 @@ void QTwistSensorGestureRecognizer::accelChanged(QAccelerometerReading *reading) qreal angle = qAtan(x / qSqrt(y*y + z*z)) * RADIANS_TO_DEGREES; if (qAbs(angle) > 2) { - if (detecting){ + if (detecting) { if ((angle > 0 && angle < lastAngle) || (angle < 0 && angle > lastAngle)) { decreaseCount++; |