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
This commit is contained in:
parent
125016ad24
commit
039900fa4c
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user