Preferences tests: location updates & bug fix

Fixed loading the location preferences.

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2016-11-01 11:28:08 +01:00 committed by Dirk Hohndel
parent 7f60951e75
commit 3966f3e7dd
3 changed files with 14 additions and 8 deletions

View file

@ -2229,13 +2229,6 @@ void SettingsObjectWrapper::load()
// 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");