use normalText, not ActiveText

svn path=/trunk/KDE/kdelibs/; revision=963976
This commit is contained in:
Marco Martin 2009-05-05 19:06:17 +00:00
parent 33065aa54f
commit 5e132c33a8

View File

@ -283,7 +283,7 @@ void Delegate::paint(QPainter *painter, const QStyleOptionViewItem &option,
// draw title
p.setFont(titleFont);
if (option.palette.color(QPalette::Base).alpha() > 0) {
p.setPen(QPen(KColorScheme(QPalette::Active).foreground(KColorScheme::ActiveText), 1));
p.setPen(QPen(KColorScheme(QPalette::Active).foreground(KColorScheme::NormalText), 1));
} else {
p.setPen(Plasma::Theme::defaultTheme()->color(Plasma::Theme::TextColor));
}