diff options
author | Wolfgang Beck <wolfgang.beck@nokia.com> | 2011-11-30 15:17:25 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-11-30 06:19:38 +0100 |
commit | 5c7c749998d33e84c2bf1c24355acfadd1d764bb (patch) | |
tree | fa36284762f6a80860278005819e00b413298b57 | |
parent | 8756e2e1620824b42dd35813bf13e888a369fda9 (diff) |
ALS sometimes showing unknown
Change-Id: I7b372e8851d1c86d4086affe01d067ef3b4923e4
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com>
-rw-r--r-- | examples/sensors/qmlqtsensors5/main.qml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/sensors/qmlqtsensors5/main.qml b/examples/sensors/qmlqtsensors5/main.qml index e93e8825..cf20a6a3 100644 --- a/examples/sensors/qmlqtsensors5/main.qml +++ b/examples/sensors/qmlqtsensors5/main.qml @@ -245,11 +245,11 @@ Rectangle { id: tiltStart x: 5 y: 245 - text: "start" + text: tilt.enabled ? "running" : "start" checkColor: "lightblue" unCheckColor: "lightyellow" + color: tilt.enabled ? checkColor : unCheckColor checked: tilt.enabled - color: "lightyellow" onClicked:{ tilt.enabled = tiltStart.checked; @@ -297,11 +297,11 @@ Rectangle { id: ambientlightStart x: 5 y: 35 - text: "start" + text: ambientlight.enabled ? "running" : "start" checkColor: "lightblue" unCheckColor: "lightyellow" + color: ambientlight.enabled ? checkColor : unCheckColor checked: ambientlight.enabled - color: "lightyellow" onClicked:{ ambientlight.enabled = ambientlightStart.checked; @@ -335,11 +335,11 @@ Rectangle { id: proxiStart x: 5 y: 35 - text: "start" + text: proxi.enabled ? "running" : "start" checkColor: "lightblue" unCheckColor: "lightyellow" + color: proxi.enabled ? checkColor : unCheckColor checked: proxi.enabled - color: "lightyellow" onClicked:{ proxi.enabled = proxiStart.checked; |