diff options
author | Simon Hausmann <simon.hausmann@nokia.com> | 2012-01-04 16:32:55 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-01-04 21:16:55 +0100 |
commit | 73187281c3f88b7a709713a2b09fb43871ea6b6d (patch) | |
tree | 23dbaa02cf33bd2a20e9a9b6dab36fbcd0463f5e /doc/src/snippets/code/doc_src_containers.cpp | |
parent | ecb57cfc32ebbc457fd5e58ae0efc4dcb9d4d3f8 (diff) | |
download | qtbase-73187281c3f88b7a709713a2b09fb43871ea6b6d.tar.gz |
Fix QPainter::drawText with complex brushes
Commit d52fd497f60a3c4456994f4f10e9451d611c9ea4 introduced a call path to
QPaintEngineEx::drawStaticTextItem, which has a bug in using the pen's color
instead of the entire brush.
This patch replaces the use of the color with the pen's brush().
Task-number: QTBUG-23450
Change-Id: Ieb3bf352c840ff0d3fb4ac678caf7b13f4f9a8f1
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
Diffstat (limited to 'doc/src/snippets/code/doc_src_containers.cpp')
0 files changed, 0 insertions, 0 deletions