summaryrefslogtreecommitdiffstats
path: root/examples/sensors/sensor_explorer/import
diff options
context:
space:
mode:
authorLincoln Ramsay <lincoln.ramsay@nokia.com>2012-06-19 11:45:09 +1000
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-09-26 00:29:37 +0200
commitf9d52ca1c093d8997d44cd8356b43b2665fdbf20 (patch)
tree45fd29bd91c67794bf3e1aefbf232bbd1d2f7b8f /examples/sensors/sensor_explorer/import
parent1d253860f9863fd015115d728c3f1bd04c5119c6 (diff)
QtMobility.sensors has a new implementation
This implementation fixes the limitations the original code had and separates the QtSensors C++ API from the QML API so that changes to one don't need to affect the other. Change-Id: I519463f3c7cfbad3bce5c291ce166b8793d5ed4a Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
Diffstat (limited to 'examples/sensors/sensor_explorer/import')
-rw-r--r--examples/sensors/sensor_explorer/import/sensoritem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/sensors/sensor_explorer/import/sensoritem.cpp b/examples/sensors/sensor_explorer/import/sensoritem.cpp
index 4ef4b5ce..1b14c6ae 100644
--- a/examples/sensors/sensor_explorer/import/sensoritem.cpp
+++ b/examples/sensors/sensor_explorer/import/sensoritem.cpp
@@ -220,7 +220,7 @@ bool QSensorItem::ignoreProperty(const QString& propertyname)
{
if (propertyname == "reading" ||
propertyname == "active" ||
- propertyname == "sensorid" ||
+ propertyname == "identifier" ||
propertyname == "connectedToBackend" ||
propertyname == "busy")
return true;