summaryrefslogtreecommitdiffstats
path: root/core/settings/qPrefGeocoding.cpp
diff options
context:
space:
mode:
authorGravatar willemferguson <willemferguson@zoology.up.ac.za>2019-12-12 10:28:04 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-12-25 02:57:42 +0900
commit6212bb6721391efc82df21d80d177f93204cb12e (patch)
treeb055013d411f38fd72fb515f208868c37defb799 /core/settings/qPrefGeocoding.cpp
parent42a85dfa7e3052d50a831bb5700a26ad7df9dc0a (diff)
downloadsubsurface-6212bb6721391efc82df21d80d177f93204cb12e.tar.gz
Preferences UI: final cleanup
This commit does some final cleaning up to the code, mostly deleting white space and comments. Signed-off-by: willemferguson <willemferguson@zoology.up.ac.za> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/settings/qPrefGeocoding.cpp')
-rw-r--r--core/settings/qPrefGeocoding.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/settings/qPrefGeocoding.cpp b/core/settings/qPrefGeocoding.cpp
index 57450eac2..2c27ea4f4 100644
--- a/core/settings/qPrefGeocoding.cpp
+++ b/core/settings/qPrefGeocoding.cpp
@@ -17,7 +17,6 @@ void qPrefGeocoding::loadSync(bool doSync)
disk_third_taxonomy_category(doSync);
}
-
void qPrefGeocoding::set_first_taxonomy_category(taxonomy_category value)
{
if (value != prefs.geocoding.category[0]) {
@@ -34,7 +33,6 @@ void qPrefGeocoding::disk_first_taxonomy_category(bool doSync)
prefs.geocoding.category[0] = (enum taxonomy_category)qPrefPrivate::propValue(keyFromGroupAndName(group, "cat0"), default_prefs.geocoding.category[0]).toInt();
}
-
void qPrefGeocoding::set_second_taxonomy_category(taxonomy_category value)
{
if (value != prefs.geocoding.category[1]) {
@@ -43,6 +41,7 @@ void qPrefGeocoding::set_second_taxonomy_category(taxonomy_category value)
emit instance()->second_taxonomy_categoryChanged(value);
}
}
+
void qPrefGeocoding::disk_second_taxonomy_category(bool doSync)
{
if (doSync)
@@ -60,6 +59,7 @@ void qPrefGeocoding::set_third_taxonomy_category(taxonomy_category value)
emit instance()->third_taxonomy_categoryChanged(value);
}
}
+
void qPrefGeocoding::disk_third_taxonomy_category(bool doSync)
{
if (doSync)