diff options
author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2011-06-20 08:01:55 (GMT) |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2011-06-20 08:34:32 (GMT) |
commit | ee77ee5c25f58271e6f2863225d08573da86c3ee (patch) | |
tree | d113e00f6e199f15815f8405e90b20ac91155cb2 /bin | |
parent | c5a377e944f9a87c372ff8371c66b03d861803a6 (diff) | |
download | Qt-ee77ee5c25f58271e6f2863225d08573da86c3ee.zip Qt-ee77ee5c25f58271e6f2863225d08573da86c3ee.tar.gz Qt-ee77ee5c25f58271e6f2863225d08573da86c3ee.tar.bz2 |
Make it possible to set color of QStaticText with pixel size >= 64
Adding the fallback to QPainterPath for large QStaticTexts created a
regression where all text would be painted in black regardless of the
color you set on it. The color in QStaticTextItem is sometimes invalid,
in which case the current painter color should be used. In either case,
the color is already set on the current pen when entering
drawStaticTextItem() so we can just use that.
Task-number: QTBUG-19950
Reviewed-by: Jiang Jiang
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions