diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-10-05 23:02:55 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-10-06 00:01:30 +0100 |
commit | 5861da0bce842bcca9777cad5d41bea790d6c5da (patch) | |
tree | 52e3cb57be6807de7cb129a838f677183fc0c254 /qthelper.cpp | |
parent | 44762c425233cb13d86d64360dbda54e975a7372 (diff) | |
download | subsurface-5861da0bce842bcca9777cad5d41bea790d6c5da.tar.gz |
Remove unused part of the geocoding preferences
And always turn on geocoding. The user needs to trigger this manually
anyway, so there's no point in having the extra option in the preferences.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qthelper.cpp')
-rw-r--r-- | qthelper.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/qthelper.cpp b/qthelper.cpp index ed23948ea..4b80a8093 100644 --- a/qthelper.cpp +++ b/qthelper.cpp @@ -1538,9 +1538,13 @@ void loadPreferences() // GeoManagement s.beginGroup("geocoding"); +#ifdef DISABLED GET_BOOL("enable_geocoding", geocoding.enable_geocoding); - GET_BOOL("parse_dives_without_gps", geocoding.parse_dive_without_gps); + GET_BOOL("parse_dive_without_gps", geocoding.parse_dive_without_gps); GET_BOOL("tag_existing_dives", geocoding.tag_existing_dives); +#else + prefs.geocoding.enable_geocoding = true; +#endif GET_ENUM("cat0", taxonomy_category, geocoding.category[0]); GET_ENUM("cat1", taxonomy_category, geocoding.category[1]); GET_ENUM("cat2", taxonomy_category, geocoding.category[2]); |