volume text color palette

This modification makes the volume percentage text color match general text color.
This commit is contained in:
Arun Narayanankutty 2015-09-10 11:11:43 -05:00
parent 97cbf556a0
commit e2063fe78b
1 changed files with 2 additions and 1 deletions

View File

@ -307,7 +307,8 @@ void Amarok::VolumeSlider::paintEvent(QPaintEvent*) {
m_handlePixmaps[m_animCount]);
// Draw percentage number
p.setPen(palette().color(QPalette::Disabled, QPalette::Text).dark());
QStyleOptionViewItem opt;
p.setPen(opt.palette.color(QPalette::Disabled, QPalette::Text));
QFont font;
font.setPixelSize(9);
p.setFont(font);