diff options
author | Jake Petroules <jake.petroules@qt.io> | 2016-05-05 02:17:56 -0700 |
---|---|---|
committer | Jake Petroules <jake.petroules@qt.io> | 2016-06-01 02:29:51 +0000 |
commit | a160bd4fccaebafb5453a642f43bdefafc1e2565 (patch) | |
tree | 3e71ff16f36f49a739c724ec1d4f49ab8fa545ff /tests | |
parent | bb30da895eca5a80265317db1fc7a0d151005e30 (diff) |
Fix bugs causing Thin font weights to be ignored or mishandled.
Task-number: QTBUG-53196
Change-Id: If12b3cab3d8de5e0e452fca844b0a484c29e9e86
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/gui/text/qfontcache/tst_qfontcache.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/auto/gui/text/qfontcache/tst_qfontcache.cpp b/tests/auto/gui/text/qfontcache/tst_qfontcache.cpp index 4d5ddfd523..a0bb1ebef9 100644 --- a/tests/auto/gui/text/qfontcache/tst_qfontcache.cpp +++ b/tests/auto/gui/text/qfontcache/tst_qfontcache.cpp @@ -106,8 +106,6 @@ void tst_QFontCache::engineData() } if (req.pointSize < 0) req.pointSize = req.pixelSize*72.0/d->dpi; - if (req.weight == 0) - req.weight = QFont::Normal; if (req.stretch == 0) req.stretch = 100; |