diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2009-11-09 14:26:45 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2009-11-09 15:35:42 (GMT) |
commit | 0d2f1562d63cf51d254a5761bf37ce36120cfcfd (patch) | |
tree | a34207924364bc7fe17801078a568be546f5d6d8 /doc/src/snippets/code/src_sql_kernel_qsqlindex.cpp | |
parent | 445e8af844ef6f120a5e406271dbeabad34ed47a (diff) | |
download | Qt-0d2f1562d63cf51d254a5761bf37ce36120cfcfd.zip Qt-0d2f1562d63cf51d254a5761bf37ce36120cfcfd.tar.gz Qt-0d2f1562d63cf51d254a5761bf37ce36120cfcfd.tar.bz2 |
QPlastiqueStyle: Fix painting QTreeView with gradient
When setting a gradian brush as a base for a QTreeWidget (with
stylesheet), the branch decoration would be plain black.
This is because the color() of a gradient brush is always black.
Fix it by using the base brush itself to paint the decoration if
the brush is not solid color.
Task-number: QTBUG-3816
Reviewed-by: Thierry
Diffstat (limited to 'doc/src/snippets/code/src_sql_kernel_qsqlindex.cpp')
0 files changed, 0 insertions, 0 deletions