summaryrefslogtreecommitdiffstats
path: root/qmake/main.cpp
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@digia.com>2013-03-20 14:45:13 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-03-21 01:38:45 +0100
commitf1e681bed21e131864fe1e1c91679f7a56b06823 (patch)
tree8b87ca715b980a47e07e3acf3b55af268836ef0f /qmake/main.cpp
parent3a6d0bbde612575c8cf69a88d6ad7ae4ffe8e8b5 (diff)
QWindowsVistaStyle::drawPrimitive(PE_Frame): fix background clipping
The purpose of PE_Frame is to draw the frame, not the background. The old code tried to check whether a custom base brush was set, and otherwise let the theme draw the background. That didn't work together with CSS background images. This change removes the background drawing from PE_Frame, and let's PE_Widget to draw the background using the base brush that defaults to a color fetched from the theme. Task-number: QTBUG-24783 Change-Id: Iaddfcbd613122a9aed39e77ba05a26f94995f7d2 Reviewed-by: Andy Shaw <andy.shaw@digia.com> Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Diffstat (limited to 'qmake/main.cpp')
0 files changed, 0 insertions, 0 deletions