diff options
author | jan Iversen <jani@apache.org> | 2018-08-10 17:45:34 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-08-13 15:04:50 -0700 |
commit | af2201545205d5bf0844a993b05950e6f12805dd (patch) | |
tree | 9e368166d4a42e9d77974fbc25bc33313732fd42 /desktop-widgets | |
parent | 3cd698361c3c1a8c8f5e455799d954e76f68d6bc (diff) | |
download | subsurface-af2201545205d5bf0844a993b05950e6f12805dd.tar.gz |
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 <jani@apache.org>
Diffstat (limited to 'desktop-widgets')
-rw-r--r-- | desktop-widgets/preferences/preferences_georeference.cpp | 8 |
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()); } |