diff options
author | Lincoln Ramsay <lincoln.ramsay@nokia.com> | 2010-06-11 15:19:24 +1000 |
---|---|---|
committer | Lincoln Ramsay <lincoln.ramsay@nokia.com> | 2010-06-11 15:19:24 +1000 |
commit | 49846b8bf3063519f8ea4ebc52e71053f7953824 (patch) | |
tree | 3e38a8887e7e8954393fa3071cbba5e328e57039 /examples | |
parent | 026c07a9f4aa2fae151df035a28c42a511de3528 (diff) |
Revert "Make Sensor::active property writeable and add activeChanged() signal."
This reverts commit a17e43862053f6b4420ca55d6acb1d39c688bf1e.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/sensors/orientation/orientation.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/sensors/orientation/orientation.qml b/examples/sensors/orientation/orientation.qml index 6b64711ac6..9f11d89648 100644 --- a/examples/sensors/orientation/orientation.qml +++ b/examples/sensors/orientation/orientation.qml @@ -48,7 +48,6 @@ Rectangle { OrientationSensor { id: orientation - active: true onReadingChanged: { if (reading.orientation == OrientationReading.TopUp) @@ -67,6 +66,7 @@ Rectangle { content.state = ""; } } + Component.onCompleted: orientation.start() Item { id: content |