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> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| BLACKLIST | ||
| qfont.pro | ||
| tst_qfont.cpp | ||