ButtonBackgroundColor should be the normal background of buttons not the active one

svn path=/trunk/KDE/kdelibs/; revision=1180219
This commit is contained in:
Manuel Mommertz 2010-09-27 12:08:24 +00:00
parent 64da2b88aa
commit 93242199ac

View File

@ -733,7 +733,7 @@ QColor Theme::color(ColorRole role) const
break;
case BackgroundColor:
return d->colorScheme.background().color();
return d->colorScheme.background(KColorScheme::NormalBackground).color();
break;
case ButtonTextColor:
@ -741,7 +741,7 @@ QColor Theme::color(ColorRole role) const
break;
case ButtonBackgroundColor:
return d->buttonColorScheme.background(KColorScheme::ActiveBackground).color();
return d->buttonColorScheme.background(KColorScheme::NormalBackground).color();
break;
case LinkColor: