diff options
author | Sergio Ahumada <sergio.ahumada@digia.com> | 2013-06-06 10:57:08 +0200 |
---|---|---|
committer | Sergio Ahumada <sergio.ahumada@digia.com> | 2013-06-06 10:57:49 +0200 |
commit | 5ae30e1ae8de41478476567148846a80cd508e7b (patch) | |
tree | 511d243e77dabbdd65077a66051d90e889b5b34e /src/plugins/sensors/sensorfw/sensorfwsensorbase.cpp | |
parent | 9b92bc82292ea58b9702e7ecd649597847d9901b (diff) | |
parent | 4a96b1e9ac7bfdf3409ce27db2e58db89222ef22 (diff) |
Merge branch 'release' into stable
Change-Id: I589d4840a0f0cc16656033ab34fcce10b9a499cd
Diffstat (limited to 'src/plugins/sensors/sensorfw/sensorfwsensorbase.cpp')
-rw-r--r-- | src/plugins/sensors/sensorfw/sensorfwsensorbase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/sensors/sensorfw/sensorfwsensorbase.cpp b/src/plugins/sensors/sensorfw/sensorfwsensorbase.cpp index 85968e22..b41d6308 100644 --- a/src/plugins/sensors/sensorfw/sensorfwsensorbase.cpp +++ b/src/plugins/sensors/sensorfw/sensorfwsensorbase.cpp @@ -73,7 +73,7 @@ void SensorfwSensorBase::start() if (m_sensorInterface) { // dataRate QByteArray type = sensor()->type(); - if (type != QTapSensor::type() && type != QProximitySensor::type()) { + if (type != QTapSensor::type && type != QProximitySensor::type) { int dataRate = sensor()->dataRate(); int interval = dataRate > 0 ? 1000 / dataRate : 0; // for testing maximum speed |