summaryrefslogtreecommitdiffstats
path: root/core/settings/qPrefGeocoding.cpp
diff options
context:
space:
mode:
authorGravatar jan Iversen <jani@apache.org>2018-09-02 13:58:04 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-09-11 17:22:58 -0700
commitc72add5721244cebbf38ea4c7daf1a8ae3198e3e (patch)
tree537b76cceedc2f8ece101912b83e6dfca6a22e76 /core/settings/qPrefGeocoding.cpp
parent740fcce338a00e7ec8d1c4701229d46b5463b974 (diff)
downloadsubsurface-c72add5721244cebbf38ea4c7daf1a8ae3198e3e.tar.gz
core/setting: change *_changed to *Changed for the sake of QML.
QML demands signals to be of the form <name>Changed Changing all of qPref REMARK: this commit is not compileable, since it only change qPref and not the rest of the system Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'core/settings/qPrefGeocoding.cpp')
-rw-r--r--core/settings/qPrefGeocoding.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/settings/qPrefGeocoding.cpp b/core/settings/qPrefGeocoding.cpp
index 404ce40d5..9597799ca 100644
--- a/core/settings/qPrefGeocoding.cpp
+++ b/core/settings/qPrefGeocoding.cpp
@@ -26,7 +26,7 @@ void qPrefGeocoding::set_first_taxonomy_category(taxonomy_category value)
if (value != prefs.geocoding.category[0]) {
prefs.geocoding.category[0] = value;
disk_first_taxonomy_category(true);
- emit instance()->first_taxonomy_category_changed(value);
+ emit instance()->first_taxonomy_categoryChanged(value);
}
}
void qPrefGeocoding::disk_first_taxonomy_category(bool doSync)
@@ -43,7 +43,7 @@ void qPrefGeocoding::set_second_taxonomy_category(taxonomy_category value)
if (value != prefs.geocoding.category[1]) {
prefs.geocoding.category[1] = value;
disk_second_taxonomy_category(true);
- emit instance()->second_taxonomy_category_changed(value);
+ emit instance()->second_taxonomy_categoryChanged(value);
}
}
void qPrefGeocoding::disk_second_taxonomy_category(bool doSync)
@@ -60,7 +60,7 @@ void qPrefGeocoding::set_third_taxonomy_category(taxonomy_category value)
if (value != prefs.geocoding.category[2]) {
prefs.geocoding.category[2] = value;
disk_third_taxonomy_category(true);
- emit instance()->third_taxonomy_category_changed(value);
+ emit instance()->third_taxonomy_categoryChanged(value);
}
}
void qPrefGeocoding::disk_third_taxonomy_category(bool doSync)