Merge pull request #5171 from TheUbuntuGuy/master

Fix incorrect highlight colour in playlist when the window is inactive
This commit is contained in:
John Maguire 2016-01-08 11:55:07 +00:00
commit d7df6263cc
1 changed files with 3 additions and 0 deletions

View File

@ -496,6 +496,9 @@ void PlaylistView::drawRow(QPainter* painter,
is_paused ? currenttrack_pause_ : currenttrack_play_);
// Set the font
opt.palette.setColor(QPalette::Inactive, QPalette::HighlightedText,
QApplication::palette().color(
QPalette::Active, QPalette::HighlightedText));
opt.palette.setColor(QPalette::Text, QApplication::palette().color(
QPalette::HighlightedText));
opt.palette.setColor(QPalette::Highlight, Qt::transparent);