#148 QtLocation: setUpdateInterval doesn't set value correctly

alpha 4
open
nobody
2012-01-30
2012-01-23
BikeAtor
No

I create a SatSource and want to set the updateinterval.
Before setting it I get "updateInterval: 0 minimum: 0".
After setting ist to 1000 I get "updateInterval: 6000".
For navigation 6 Seconds are too long. Is there a way to correct it?

Here is a codesniplet:

posSatSource = QGeoPositionInfoSource::createDefaultSource( this );
posSatSource->setPreferredPositioningMethods( QGeoPositionInfoSource::SatellitePositioningMethods );
qDebug() << " updateInterval: " << posSatSource->updateInterval()
<< " minimum: " << posSatSource->minimumUpdateInterval();
posSatSource->setUpdateInterval( 1000 );
qDebug() << "updateInterval: " << this->posSatSource->updateInterval();

Discussion