diff options
author | Thomas McGuire <thomas.mcguire.qnx@kdab.com> | 2013-02-08 11:19:04 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-02-10 18:29:31 +0100 |
commit | 5809a8b0ec112ced99d34c9670d097f1f0dc3171 (patch) | |
tree | ce0f0f5fcf380e1f78a759e128c44c16455858da /src/plugins/sensors/blackberry | |
parent | 4d9edb754b3dff3331c8d8790a04548f0981f315 (diff) |
BlackBerry: Remove outdated TODO comment
The proximity sensor has been tested in the meantime and works as
expected.
Change-Id: Ifd27055e36d58f860809d4a5c5dc3f4203094771
Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
Diffstat (limited to 'src/plugins/sensors/blackberry')
-rw-r--r-- | src/plugins/sensors/blackberry/bbproximitysensor.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/plugins/sensors/blackberry/bbproximitysensor.cpp b/src/plugins/sensors/blackberry/bbproximitysensor.cpp index 79f3834a..1177f744 100644 --- a/src/plugins/sensors/blackberry/bbproximitysensor.cpp +++ b/src/plugins/sensors/blackberry/bbproximitysensor.cpp @@ -53,9 +53,6 @@ QString BbProximitySensor::devicePath() bool BbProximitySensor::updateReadingFromEvent(const sensor_event_t &event, QProximityReading *reading) { - // TODO: I was unable to test this since the device I was testing this with did not have - // a proximity sensor. Verify that this works, check that the units are correct - // and that the threshold makes sense. const qreal minProximity = sensor()->outputRanges().first().minimum; reading->setClose(event.proximity_s.distance <= minProximity); return true; |