mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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 <jlmulder@xs4all.nl>
This commit is contained in:
parent
adb4b66a05
commit
fd03621a4b
3 changed files with 11 additions and 1 deletions
|
|
@ -33,6 +33,7 @@ public:
|
|||
QString getUserid(QString user, QString passwd);
|
||||
bool hasLocationsSource();
|
||||
QString currentPosition();
|
||||
void setGpsTimeThreshold(int seconds);
|
||||
|
||||
QMap<qint64, gpsTracker> currentGPSInfo() const;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue