Use application's palette when setting text color of the current playing song's row

This commit is contained in:
Arnaud Bienner 2012-05-15 00:49:14 +02:00
parent af6a555700
commit 14cba7e704
1 changed files with 1 additions and 1 deletions

View File

@ -409,7 +409,7 @@ void PlaylistView::drawRow(QPainter* painter, const QStyleOptionViewItem& option
is_paused ? currenttrack_pause_ : currenttrack_play_);
// Set the font
opt.palette.setColor(QPalette::Text, opt.palette.color(QPalette::HighlightedText));
opt.palette.setColor(QPalette::Text, QApplication::palette().color(QPalette::HighlightedText));
opt.palette.setColor(QPalette::Highlight, Qt::transparent);
opt.palette.setColor(QPalette::AlternateBase, Qt::transparent);
opt.font.setItalic(true);