diff options
author | Lorn Potter <lorn.potter@jollamobile.com> | 2013-01-10 04:54:58 +1000 |
---|---|---|
committer | Lorn Potter <lorn.potter@jollamobile.com> | 2013-01-09 19:57:48 +0100 |
commit | 0bf20d7f3eaea43b75dbc6acb1ca188c9c5dadb0 (patch) | |
tree | 3782aed1e963d4f542812d9f08266fd108a07bbd | |
parent | aba7b84e6cf11ec36da4ba8213456d5478733ca1 (diff) |
should probably 'new' the QSensorGesture in a meaningful place.
so as to make it work.
Change-Id: I9fa67dae0cd0450107eeade939576e259029db77
Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
-rw-r--r-- | plugins/declarative/sensors/qmlsensorgesture.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/declarative/sensors/qmlsensorgesture.cpp b/plugins/declarative/sensors/qmlsensorgesture.cpp index 2225dcf55f..62b8d5ad3b 100644 --- a/plugins/declarative/sensors/qmlsensorgesture.cpp +++ b/plugins/declarative/sensors/qmlsensorgesture.cpp @@ -249,6 +249,7 @@ void QmlSensorGesture::createGesture() { deleteGesture(); if (!validGestures().isEmpty()) { + sensorGesture = new QSensorGesture(gestureList, this); QObject::connect(sensorGesture, SIGNAL(detected(QString)), this , SIGNAL(detected(QString))); Q_EMIT validGesturesChanged(); |