summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/preferences/preferences_georeference.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/preferences/preferences_georeference.cpp')
-rw-r--r--desktop-widgets/preferences/preferences_georeference.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/desktop-widgets/preferences/preferences_georeference.cpp b/desktop-widgets/preferences/preferences_georeference.cpp
index cb75cb646..08764434a 100644
--- a/desktop-widgets/preferences/preferences_georeference.cpp
+++ b/desktop-widgets/preferences/preferences_georeference.cpp
@@ -30,8 +30,8 @@ void PreferencesGeoreference::refreshSettings()
void PreferencesGeoreference::syncSettings()
{
- auto geocoding = SettingsObjectWrapper::instance()->geocoding;
- geocoding->setFirstTaxonomyCategory((taxonomy_category) ui->first_item->currentIndex());
- geocoding->setSecondTaxonomyCategory((taxonomy_category) ui->second_item->currentIndex());
- geocoding->setThirdTaxonomyCategory((taxonomy_category) ui->third_item->currentIndex());
+ auto geocoding = qPrefGeocoding::instance();
+ geocoding->set_first_taxonomy_category((taxonomy_category) ui->first_item->currentIndex());
+ geocoding->set_second_taxonomy_category((taxonomy_category) ui->second_item->currentIndex());
+ geocoding->set_third_taxonomy_category((taxonomy_category) ui->third_item->currentIndex());
}