From 9a62685f0be62e9a935ad050d6d5ef34b57b971b Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 24 Mar 2016 11:18:20 -0700 Subject: Read GPS location service thresholds from settings We used to faithfully save them, but not restore them at start. Signed-off-by: Dirk Hohndel --- subsurface-core/qthelper.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'subsurface-core') diff --git a/subsurface-core/qthelper.cpp b/subsurface-core/qthelper.cpp index b3891298a..fae5e0130 100644 --- a/subsurface-core/qthelper.cpp +++ b/subsurface-core/qthelper.cpp @@ -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) -- cgit v1.2.3-70-g09d2