projects
/
harmattan
/
cameraplus
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fe43c62
)
Don't set proximity close property upon component completion.
author
Mohammed Sameer
<msameer@foolab.org>
Wed, 11 Sep 2013 22:54:28 +0000
(
01:54
+0300)
committer
Mohammed Sameer
<msameer@foolab.org>
Wed, 11 Sep 2013 22:54:28 +0000
(
01:54
+0300)
Not really needed, it triggers a QML error and it will be set anyway
when the sensor becomes active
qml/harmattan/CameraProximitySensor.qml
patch
|
blob
|
history
diff --git
a/qml/harmattan/CameraProximitySensor.qml
b/qml/harmattan/CameraProximitySensor.qml
index
95fd20d
..
c2e001d
100644
(file)
--- a/
qml/harmattan/CameraProximitySensor.qml
+++ b/
qml/harmattan/CameraProximitySensor.qml
@@
-24,7
+24,6
@@
import QtQuick 1.1
import QtMobility.sensors 1.2
ProximitySensor {
import QtMobility.sensors 1.2
ProximitySensor {
- property bool close
+ property bool close
: false
onReadingChanged: close = reading.close
onReadingChanged: close = reading.close
- Component.onCompleted: close = reading.close
}
}