From fd03621a4b1e82c218dddbc7e833838ef3fdf7be Mon Sep 17 00:00:00 2001 From: Jan Mulder Date: Tue, 25 Jul 2017 11:44:30 +0200 Subject: Mobile: honour location service time threshold Independ of the settings, the threshold to reset the GPS data was hard coded to 5 minutes. Now, honour the entered (and updated during a session) time to refresh the GPS data in the location service. Signed-off-by: Jan Mulder --- mobile-widgets/qmlmanager.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'mobile-widgets') diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp index cc9b1356d..cb594a13d 100644 --- a/mobile-widgets/qmlmanager.cpp +++ b/mobile-widgets/qmlmanager.cpp @@ -1307,6 +1307,7 @@ int QMLManager::timeThreshold() const void QMLManager::setTimeThreshold(int time) { m_timeThreshold = time; + locationProvider->setGpsTimeThreshold(m_timeThreshold * 60); emit timeThresholdChanged(); } -- cgit v1.2.3-70-g09d2