mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
42a85dfa7e
commit
6212bb6721
18 changed files with 40 additions and 37 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue