Use application's palette when setting text color of the current playing song's row
This commit is contained in:
parent
af6a555700
commit
14cba7e704
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue