diff options
author | Lincoln Ramsay <lincoln.ramsay@nokia.com> | 2012-06-19 11:45:09 +1000 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-09-26 00:29:37 +0200 |
commit | f9d52ca1c093d8997d44cd8356b43b2665fdbf20 (patch) | |
tree | 45fd29bd91c67794bf3e1aefbf232bbd1d2f7b8f /tests/manual | |
parent | 1d253860f9863fd015115d728c3f1bd04c5119c6 (diff) | |
download | qtsensors-f9d52ca1c093d8997d44cd8356b43b2665fdbf20.tar.gz |
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')
-rw-r--r-- | tests/manual/sensor_explorer/explorer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/manual/sensor_explorer/explorer.cpp b/tests/manual/sensor_explorer/explorer.cpp index 55bb57a..5840973 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" || |