diff options
author | David Faure <david.faure@kdab.com> | 2017-01-09 00:10:42 +0100 |
---|---|---|
committer | David Faure <david.faure@kdab.com> | 2017-01-11 15:15:39 +0000 |
commit | 2bb01172a76f14b1f57010b79207f6b9a9bf3f53 (patch) | |
tree | ff6e64b06e334f77951be90caf93c2ee94b26a90 /src/angle | |
parent | 62882ad2fe3d9f70c876d7a51a5aab4118ce1ba3 (diff) |
QFont: fix fromString(toString()) when application font has styleName
The style name needs to be cleared if not present in the string,
otherwise the style name from qApp->font() (which propagates to
any default-constructed QFont) remains.
Change-Id: I9b6522a39a38526cced8a11ed02ae32582026480
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Reviewed-by: Konstantin Shegunov <kshegunov@gmail.com>
Diffstat (limited to 'src/angle')
0 files changed, 0 insertions, 0 deletions