summaryrefslogtreecommitdiffstats
path: root/tests/manual/sensor_explorer
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 /tests/manual/sensor_explorer
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 'tests/manual/sensor_explorer')
-rw-r--r--tests/manual/sensor_explorer/explorer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/manual/sensor_explorer/explorer.cpp b/tests/manual/sensor_explorer/explorer.cpp
index 55bb57aa..58409730 100644
--- a/tests/manual/sensor_explorer/explorer.cpp
+++ b/tests/manual/sensor_explorer/explorer.cpp
@@ -224,7 +224,7 @@ void Explorer::loadSensorProperties()
for (int i = firstProperty; i < mo->propertyCount(); ++i) {
int row = i - firstProperty - offset;
QLatin1String name(mo->property(i).name());
- if (name == "sensorid" ||
+ if (name == "identifier" ||
//name == "type" ||
name == "reading" ||
name == "connected" ||