From 1bb859f4bb313ebd6cb3312e08964cc15a8f62e2 Mon Sep 17 00:00:00 2001 From: David Sansome Date: Sun, 5 Sep 2010 17:20:02 +0000 Subject: [PATCH] Fix the appearance of the free space bar on Windows 7 --- src/widgets/freespacebar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/freespacebar.cpp b/src/widgets/freespacebar.cpp index 712b85cb9..a955cd4e3 100644 --- a/src/widgets/freespacebar.cpp +++ b/src/widgets/freespacebar.cpp @@ -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