From: Mohammed Sameer Date: Wed, 11 Sep 2013 22:54:28 +0000 (+0300) Subject: Don't set proximity close property upon component completion. X-Git-Url: http://cgit.sxemacs.org/?p=harmattan%2Fcameraplus;a=commitdiff_plain;h=ae6c26de3fe1634b3469d626533250613185915d;ds=inline Don't set proximity close property upon component completion. Not really needed, it triggers a QML error and it will be set anyway when the sensor becomes active --- diff --git a/qml/harmattan/CameraProximitySensor.qml b/qml/harmattan/CameraProximitySensor.qml index 95fd20d..c2e001d 100644 --- a/qml/harmattan/CameraProximitySensor.qml +++ b/qml/harmattan/CameraProximitySensor.qml @@ -24,7 +24,6 @@ import QtQuick 1.1 import QtMobility.sensors 1.2 ProximitySensor { - property bool close + property bool close: false onReadingChanged: close = reading.close - Component.onCompleted: close = reading.close }