summaryrefslogtreecommitdiffstats
path: root/core/settings/qPrefUpdateManager.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/qPrefUpdateManager.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/qPrefUpdateManager.cpp')
-rw-r--r--core/settings/qPrefUpdateManager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/settings/qPrefUpdateManager.cpp b/core/settings/qPrefUpdateManager.cpp
index 97ccead6d..518296fea 100644
--- a/core/settings/qPrefUpdateManager.cpp
+++ b/core/settings/qPrefUpdateManager.cpp
@@ -36,7 +36,7 @@ void qPrefUpdateManager::set_dont_check_exists(bool value)
{
if (value != prefs.update_manager.dont_check_exists) {
prefs.update_manager.dont_check_exists = value;
- emit instance()->dont_check_exists_changed(value);
+ emit instance()->dont_check_existsChanged(value);
}
// DO NOT STORE ON DISK
}
@@ -51,7 +51,7 @@ void qPrefUpdateManager::set_next_check(const QDate& value)
if (time_value != prefs.update_manager.next_check) {
prefs.update_manager.next_check = time_value;
disk_next_check(true);
- emit instance()->next_check_changed(value);
+ emit instance()->next_checkChanged(value);
}
}
void qPrefUpdateManager::disk_next_check(bool doSync)