diff options
author | Lorn Potter <lorn.potter@jollamobile.com> | 2013-01-10 05:24:42 +1000 |
---|---|---|
committer | Lorn Potter <lorn.potter@jollamobile.com> | 2013-01-09 20:26:32 +0100 |
commit | a6ca6b243100b36345550576f7b04e16d7de1dd4 (patch) | |
tree | 1d0afd943b12e0210a1321b5b4948054da639332 | |
parent | 0bf20d7f3eaea43b75dbc6acb1ca188c9c5dadb0 (diff) |
this needs to go here to work properly.
will rework this maybe later.
Change-Id: Ibfd314ead6fc2dba29c3d3ee86d5f1e18d8b9498
Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
-rw-r--r-- | plugins/declarative/sensors/qmlsensorgesture.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/declarative/sensors/qmlsensorgesture.cpp b/plugins/declarative/sensors/qmlsensorgesture.cpp index 62b8d5ad3b..6a98b02d81 100644 --- a/plugins/declarative/sensors/qmlsensorgesture.cpp +++ b/plugins/declarative/sensors/qmlsensorgesture.cpp @@ -248,8 +248,8 @@ void QmlSensorGesture::deleteGesture() void QmlSensorGesture::createGesture() { deleteGesture(); + sensorGesture = new QSensorGesture(gestureList, this); if (!validGestures().isEmpty()) { - sensorGesture = new QSensorGesture(gestureList, this); QObject::connect(sensorGesture, SIGNAL(detected(QString)), this , SIGNAL(detected(QString))); Q_EMIT validGesturesChanged(); |