aboutsummaryrefslogtreecommitdiffstats
path: root/core/subsurface-qt/SettingsObjectWrapper.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2016-10-15 20:18:56 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-10-15 12:22:52 -0700
commitc1fbc70d83cb8a3755120c5d0203a20806b94c6d (patch)
tree5611e7c7625072b2015082378a9a27bd90cf2ba9 /core/subsurface-qt/SettingsObjectWrapper.cpp
parent8cd4255a28a4251d2f75900970611ce48db5ab65 (diff)
downloadsubsurface-c1fbc70d83cb8a3755120c5d0203a20806b94c6d.tar.gz
Update a few tests, implement Planner
Also, fixed a typo that caused a bug. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/subsurface-qt/SettingsObjectWrapper.cpp')
-rw-r--r--core/subsurface-qt/SettingsObjectWrapper.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/core/subsurface-qt/SettingsObjectWrapper.cpp b/core/subsurface-qt/SettingsObjectWrapper.cpp
index 29b104349..417b90411 100644
--- a/core/subsurface-qt/SettingsObjectWrapper.cpp
+++ b/core/subsurface-qt/SettingsObjectWrapper.cpp
@@ -2229,13 +2229,11 @@ void SettingsObjectWrapper::load()
// GeoManagement
s.beginGroup("geocoding");
-#ifdef DISABLED
+
GET_BOOL("enable_geocoding", geocoding.enable_geocoding);
- GET_BOOL("parse_dive_without_gps", geocoding.parse_dive_without_gps);
+ GET_BOOL("parse_dives_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]);