From af2201545205d5bf0844a993b05950e6f12805dd Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Fri, 10 Aug 2018 17:45:34 +0200 Subject: core: activate qPrefGeocoding remove Geocoding from SettingsObjectWrapper and reference qPrefFacebook update files using SettingsObjectWrapper/Geocoding to use qPrefFacebook this activated qPrefGeocoding and removed the similar class from SettingsObjectWrapper. Signed-off-by: Jan Iversen --- desktop-widgets/preferences/preferences_georeference.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'desktop-widgets') 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()); } -- cgit v1.2.3-70-g09d2