diff options
author | Oliver Eftevaag <oliver.eftevaag@qt.io> | 2021-02-22 19:09:52 +0100 |
---|---|---|
committer | Oliver Eftevaag <oliver.eftevaag@qt.io> | 2021-03-02 03:54:36 +0100 |
commit | 426b363761dbb4c95d263df2e4acdfab071c8018 (patch) | |
tree | a8c219ac5dfa061cee1431992146f4e05e8ca783 /src/widgets/dialogs/qdialog.cpp | |
parent | 101581484bd278ce4a5f329ffb13c9e0b0e4c131 (diff) |
Font style name 'Normal' and 'Regular' have the same meaning
Some popular fonts on linux systems follow a naming convention,
where font styles are named 'Regular', 'Italic', 'Bold' and
'Bold Italic'. Qt so far only accepts the words Italic and Oblique
interchangably, but not with Regular and Normal. This change will
make sure that Regular is interpreted the same as the Normal font
style.
Fixes: QTBUG-90396
Pick-to: 6.0 6.1 5.15
Change-Id: Ibbaf086de742c91f4d380c937ca80e846aa32a2e
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/widgets/dialogs/qdialog.cpp')
0 files changed, 0 insertions, 0 deletions