summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qstylehints.cpp
diff options
context:
space:
mode:
authorRoger Maclean <rmaclean@qnx.com>2013-10-21 14:18:59 -0400
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-10-22 03:54:40 +0200
commit93cd08bfcc3b5b83196b6dabf859d5301cc90c98 (patch)
tree7469e61dfe0c875114b10322ca0de5fb94675ca8 /src/gui/kernel/qstylehints.cpp
parentc371680a86933a42964fcb36266806d5d69c6b86 (diff)
Correct handling of font weights bolder than bold.
A couple of places were checking for a font weight equal to QFont::Bold rather than a weight that is greater or equal to this. This sometimes results in QFont::Black being rendered with a lighter weight than QFont::Bold even though it should if anything be heavier. Change-Id: I5aa73a84ea2718783bbac93a031d87b2ad90012c Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com> Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Diffstat (limited to 'src/gui/kernel/qstylehints.cpp')
0 files changed, 0 insertions, 0 deletions