summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_gui_util_qundostack.cpp
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-11-09 14:26:45 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-11-09 15:35:42 (GMT)
commit0d2f1562d63cf51d254a5761bf37ce36120cfcfd (patch)
treea34207924364bc7fe17801078a568be546f5d6d8 /doc/src/snippets/code/src_gui_util_qundostack.cpp
parent445e8af844ef6f120a5e406271dbeabad34ed47a (diff)
downloadQt-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_gui_util_qundostack.cpp')
0 files changed, 0 insertions, 0 deletions