summaryrefslogtreecommitdiffstats
path: root/src/widgets/styles
diff options
context:
space:
mode:
authorPierre Rossi <pierre.rossi@nokia.com>2011-11-16 16:48:40 +0100
committerQt by Nokia <qt-info@nokia.com>2012-01-30 06:30:17 +0100
commit039900fa4cb0fef180fd34285e75db9c6f53caef (patch)
treeb1a292698c09bbd2bc3a24127650a196656e8836 /src/widgets/styles
parent125016ad241125176e5bebab94eebcf50fac20bc (diff)
Prettify the plastique style's slider thumb.
the bottom corners shouldn't be filled. Change-Id: I8be1c7a712225fe101b775ea04a8c2fc29e4e9da Reviewed-by: Robin Burchell <robin+qt@viroteck.net> Reviewed-by: Jens Bache-Wiig
Diffstat (limited to 'src/widgets/styles')
-rw-r--r--src/widgets/styles/qplastiquestyle.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/widgets/styles/qplastiquestyle.cpp b/src/widgets/styles/qplastiquestyle.cpp
index f36b891e84..79893f066d 100644
--- a/src/widgets/styles/qplastiquestyle.cpp
+++ b/src/widgets/styles/qplastiquestyle.cpp
@@ -3784,10 +3784,9 @@ void QPlastiqueStyle::drawComplexControl(ComplexControl control, const QStyleOpt
if (!QPixmapCache::find(handlePixmapName, cache)) {
cache = QPixmap(handle.size());
- cache.fill(Qt::white);
+ cache.fill(Qt::transparent);
QRect pixmapRect(0, 0, handle.width(), handle.height());
QPainter handlePainter(&cache);
- handlePainter.fillRect(pixmapRect, option->palette.background());
// draw handle
if (horizontal) {