diff options
author | Robert Loehning <robert.loehning@qt.io> | 2020-10-09 11:57:10 +0200 |
---|---|---|
committer | Robert Loehning <robert.loehning@qt.io> | 2020-11-09 13:03:52 +0000 |
commit | ccc205bf38ffbe60180a069939a4aff01e7734e5 (patch) | |
tree | f3190d9618d5309ab7b4256d252c6e250d504734 /src/gui/painting/qcosmeticstroker.cpp | |
parent | ec1d553bbfb9879a5cedfbe030bb01f1c4d97dca (diff) |
Limit value in setFontWeightFromValue()
QFont::setWeight() just accepts values between 0 and 900 anyway.
Fixes: oss-fuzz-24986
Pick-to: 5.12 5.15
Change-Id: Ic65139a7821be3a12c65444d010736f03c8b74f5
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/gui/painting/qcosmeticstroker.cpp')
0 files changed, 0 insertions, 0 deletions