diff options
Diffstat (limited to 'subsurface-core/qthelper.cpp')
-rw-r--r-- | subsurface-core/qthelper.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/subsurface-core/qthelper.cpp b/subsurface-core/qthelper.cpp index 63248f6c4..c1205ce6f 100644 --- a/subsurface-core/qthelper.cpp +++ b/subsurface-core/qthelper.cpp @@ -1601,6 +1601,13 @@ void loadPreferences() // Subsurface webservice id is stored outside of the groups GET_TXT("subsurface_webservice_uid", userid); + // but the related time / distance threshold (only used in the mobile app) + // are in their own group + s.beginGroup("locationService"); + GET_INT("distance_threshold", distance_threshold); + GET_INT("time_threshold", time_threshold); + s.endGroup(); + // GeoManagement s.beginGroup("geocoding"); #ifdef DISABLED |