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