diff options
author | jan Iversen <jani@apache.org> | 2018-09-02 13:58:04 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-09-11 17:22:58 -0700 |
commit | c72add5721244cebbf38ea4c7daf1a8ae3198e3e (patch) | |
tree | 537b76cceedc2f8ece101912b83e6dfca6a22e76 /core/settings/qPrefFacebook.cpp | |
parent | 740fcce338a00e7ec8d1c4701229d46b5463b974 (diff) | |
download | subsurface-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/qPrefFacebook.cpp')
-rw-r--r-- | core/settings/qPrefFacebook.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/settings/qPrefFacebook.cpp b/core/settings/qPrefFacebook.cpp index 8728313ab..8ce8faf08 100644 --- a/core/settings/qPrefFacebook.cpp +++ b/core/settings/qPrefFacebook.cpp @@ -22,7 +22,7 @@ void qPrefFacebook::set_access_token(const QString &value) { if (value != prefs.facebook.access_token) { qPrefPrivate::copy_txt(&prefs.facebook.access_token, value); - emit instance()->access_token_changed(value); + emit instance()->access_tokenChanged(value); } } @@ -30,7 +30,7 @@ void qPrefFacebook::set_album_id(const QString &value) { if (value != prefs.facebook.album_id) { qPrefPrivate::copy_txt(&prefs.facebook.album_id, value); - emit instance()->album_id_changed(value); + emit instance()->album_idChanged(value); } } @@ -38,6 +38,6 @@ void qPrefFacebook::set_user_id(const QString &value) { if (value != prefs.facebook.user_id) { qPrefPrivate::copy_txt(&prefs.facebook.user_id, value); - emit instance()->access_token_changed(value); + emit instance()->access_tokenChanged(value); } } |