mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Read GPS location service thresholds from settings
We used to faithfully save them, but not restore them at start. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
6c9247b56b
commit
9a62685f0b
1 changed files with 5 additions and 0 deletions
|
@ -1517,6 +1517,11 @@ void loadPreferences()
|
|||
GET_ENUM("cat2", taxonomy_category, geocoding.category[2]);
|
||||
s.endGroup();
|
||||
|
||||
// GPS service time and distance thresholds
|
||||
s.beginGroup("LocationService");
|
||||
GET_INT("time_threshold", time_threshold);
|
||||
GET_INT("distance_threshold", distance_threshold);
|
||||
s.endGroup();
|
||||
}
|
||||
|
||||
extern "C" bool isCloudUrl(const char *filename)
|
||||
|
|
Loading…
Add table
Reference in a new issue