Fix the currently playing track background colour on windows. Fixes issue #239

This commit is contained in:
David Sansome 2010-04-22 20:33:05 +00:00
parent 906f3526cf
commit 4326c54bf2
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ QList<QPixmap> PlaylistView::LoadBarPixmap(const QString& filename) {
QPainter p(&image);
p.setCompositionMode(QPainter::CompositionMode_SourceAtop);
p.setOpacity(0.7);
p.fillRect(image.rect(), palette().color(QPalette::Highlight));
p.fillRect(image.rect(), QApplication::palette().color(QPalette::Highlight));
p.end();
// Animation steps