From 4e320cca5bae6d3d625c91e48ff2635d9b167aa2 Mon Sep 17 00:00:00 2001 From: Stefan Fuchs Date: Sun, 22 Oct 2017 11:43:28 +0200 Subject: Remove three obsolete preferences options for geocoding These options are not used any longer/were never used and can be removed to not confuse the users. Signed-off-by: Stefan Fuchs --- .../preferences/preferences_georeference.cpp | 6 ----- desktop-widgets/preferences/prefs_georeference.ui | 30 ---------------------- 2 files changed, 36 deletions(-) (limited to 'desktop-widgets') diff --git a/desktop-widgets/preferences/preferences_georeference.cpp b/desktop-widgets/preferences/preferences_georeference.cpp index 6600326ea..d839f9e29 100644 --- a/desktop-widgets/preferences/preferences_georeference.cpp +++ b/desktop-widgets/preferences/preferences_georeference.cpp @@ -24,9 +24,6 @@ PreferencesGeoreference::~PreferencesGeoreference() void PreferencesGeoreference::refreshSettings() { - ui->enable_geocoding->setChecked(prefs.geocoding.enable_geocoding); - ui->parse_without_gps->setChecked(prefs.geocoding.parse_dive_without_gps); - ui->tag_existing_dives->setChecked(prefs.geocoding.tag_existing_dives); ui->first_item->setCurrentIndex(prefs.geocoding.category[0]); ui->second_item->setCurrentIndex(prefs.geocoding.category[1]); ui->third_item->setCurrentIndex(prefs.geocoding.category[2]); @@ -35,9 +32,6 @@ void PreferencesGeoreference::refreshSettings() void PreferencesGeoreference::syncSettings() { auto geocoding = SettingsObjectWrapper::instance()->geocoding; - geocoding->setEnableGeocoding(ui->enable_geocoding->isChecked()); - geocoding->setParseDiveWithoutGps(ui->parse_without_gps->isChecked()); - geocoding->setTagExistingDives(ui->tag_existing_dives->isChecked()); geocoding->setFirstTaxonomyCategory((taxonomy_category) ui->first_item->currentIndex()); geocoding->setSecondTaxonomyCategory((taxonomy_category) ui->second_item->currentIndex()); geocoding->setThirdTaxonomyCategory((taxonomy_category) ui->third_item->currentIndex()); diff --git a/desktop-widgets/preferences/prefs_georeference.ui b/desktop-widgets/preferences/prefs_georeference.ui index c197a970b..e3e7fe4c7 100644 --- a/desktop-widgets/preferences/prefs_georeference.ui +++ b/desktop-widgets/preferences/prefs_georeference.ui @@ -14,36 +14,6 @@ Form - - - - Dive site geo lookup - - - - - - Enable geocoding for dive site management - - - - - - - Parse site without GPS data - - - - - - - Same format for existing dives - - - - - - -- cgit v1.2.3-70-g09d2