mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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 <sfuchs@gmx.de>
This commit is contained in:
parent
c78a864e15
commit
4e320cca5b
7 changed files with 0 additions and 122 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue