diff options
-rw-r--r-- | src/plugins/position/geoclue/qgeosatelliteinfosource_geocluemaster.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/position/geoclue/qgeosatelliteinfosource_geocluemaster.cpp b/src/plugins/position/geoclue/qgeosatelliteinfosource_geocluemaster.cpp index 1f8294fd..b7524d84 100644 --- a/src/plugins/position/geoclue/qgeosatelliteinfosource_geocluemaster.cpp +++ b/src/plugins/position/geoclue/qgeosatelliteinfosource_geocluemaster.cpp @@ -96,7 +96,7 @@ void QGeoSatelliteInfoSourceGeoclueMaster::startUpdates() if (!m_master->hasMasterClient()) configureSatelliteSource(); - m_requestTimer.start(updateInterval()); + m_requestTimer.start(qMax(updateInterval(), minimumUpdateInterval())); } void QGeoSatelliteInfoSourceGeoclueMaster::stopUpdates() @@ -173,7 +173,7 @@ void QGeoSatelliteInfoSourceGeoclueMaster::updateSatelliteInfo(int timestamp, in m_inUse = inUse; emit satellitesInUseUpdated(m_inUse); - m_requestTimer.start(updateInterval()); + m_requestTimer.start(qMax(updateInterval(), minimumUpdateInterval())); } void QGeoSatelliteInfoSourceGeoclueMaster::requestUpdateTimeout() |