equal
deleted
inserted
replaced
1 Note that this really belongs in a unit test that builds the library |
|
2 since it depends on a change to the library. |
|
3 |
|
4 For this to work accurately a check in QSensorBackend::newReadingAvailable() |
|
5 needs to be commented out while building the library. The check is: |
|
6 |
|
7 if (d->updatePolicy == QSensor::PolledUpdates) |
|
8 return; // We don't emit the signal if we're polling |
|
9 |
|
10 With this check in place, the use of sensor.poll() to measure performance |
|
11 does not work. |
|