mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-11 09:24:50 +01:00
volume text color palette
This modification makes the volume percentage text color match general text color.
This commit is contained in:
parent
97cbf556a0
commit
e2063fe78b
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user