diff --git a/src/moodbar/moodbarproxystyle.cpp b/src/moodbar/moodbarproxystyle.cpp index 10f5db659..d6c26b180 100644 --- a/src/moodbar/moodbarproxystyle.cpp +++ b/src/moodbar/moodbarproxystyle.cpp @@ -214,7 +214,7 @@ void MoodbarProxyStyle::Render(ComplexControl control, const QStyleOptionSlider* if (fade_source_.isNull()) { // Draw the normal slider into the fade source pixmap. fade_source_ = QPixmap(option->rect.size()); - fade_source_.fill(option->palette.color(QPalette::Active, QPalette::Background)); + fade_source_.fill(option->palette.color(QPalette::Active, QPalette::Window)); QPainter p(&fade_source_); QStyleOptionSlider opt_copy(*option); @@ -356,7 +356,7 @@ QPixmap MoodbarProxyStyle::MoodbarPixmap(const ColorVector& colors, const QSize& p.drawRect(border_rect.adjusted(0, 0, -1, -1)); // Draw the outer bit - p.setPen(QPen(palette.brush(QPalette::Active, QPalette::Background), kMarginSize, Qt::SolidLine, Qt::FlatCap, Qt::MiterJoin)); + p.setPen(QPen(palette.brush(QPalette::Active, QPalette::Window), kMarginSize, Qt::SolidLine, Qt::FlatCap, Qt::MiterJoin)); p.drawRect(rect.adjusted(1, 1, -2, -2));