paint labels in text color if not manually set
svn path=/trunk/KDE/kdelibs/; revision=1129448
This commit is contained in:
parent
df3259842c
commit
05c9cab404
@ -74,6 +74,8 @@ void MeterPrivate::text(QPainter *p, int index)
|
||||
|
||||
if (colors.count() > index) {
|
||||
p->setPen(QPen(colors[index]));
|
||||
} else {
|
||||
p->setPen(Plasma::Theme::defaultTheme()->color(Plasma::Theme::TextColor));
|
||||
}
|
||||
if (fonts.count() > index) {
|
||||
p->setFont(fonts[index]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user