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/qPrefDisplay.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/qPrefDisplay.cpp')
-rw-r--r-- | core/settings/qPrefDisplay.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/settings/qPrefDisplay.cpp b/core/settings/qPrefDisplay.cpp index c22c6b5b6..4d218e19e 100644 --- a/core/settings/qPrefDisplay.cpp +++ b/core/settings/qPrefDisplay.cpp @@ -84,7 +84,7 @@ void qPrefDisplay::set_divelist_font(const QString &value) disk_divelist_font(true); qApp->setFont(QFont(newValue)); - emit instance()->divelist_font_changed(value); + emit instance()->divelist_fontChanged(value); } } void qPrefDisplay::disk_divelist_font(bool doSync) @@ -104,7 +104,7 @@ void qPrefDisplay::set_font_size(double value) QFont defaultFont = qApp->font(); defaultFont.setPointSizeF(prefs.font_size); qApp->setFont(defaultFont); - emit instance()->font_size_changed(value); + emit instance()->font_sizeChanged(value); } } void qPrefDisplay::disk_font_size(bool doSync) |