1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-14 02:14:21 +01:00

Fix the appearance of the free space bar on Windows 7

This commit is contained in:
David Sansome 2010-09-05 17:20:02 +00:00
parent 4ffe0739dd
commit 1bb859f4bb

View File

@ -66,7 +66,7 @@ void FreeSpaceBar::paintEvent(QPaintEvent*) {
// Draw the reflection
// Create the reflected pixmap
QImage reflection(reflection_rect.size(), QImage::Format_ARGB32_Premultiplied);
reflection.fill(Qt::transparent);
reflection.fill(palette().color(QPalette::Background).rgba());
QPainter p(&reflection);
// Set up the transformation