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
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue