their textcolor are buttontext now

svn path=/trunk/KDE/kdelibs/; revision=1054737
This commit is contained in:
Marco Martin 2009-11-26 16:56:46 +00:00
parent 861fbc9538
commit ebbb89e543
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ public:
void setPalette()
{
KLineEdit *native = q->nativeWidget();
QColor color = Theme::defaultTheme()->color(Theme::TextColor);
QColor color = Theme::defaultTheme()->color(Theme::ButtonTextColor);
QPalette p = native->palette();
p.setColor(QPalette::Normal, QPalette::Text, color);

View File

@ -52,7 +52,7 @@ public:
void setPalette()
{
QSpinBox *native = q->nativeWidget();
QColor color = Theme::defaultTheme()->color(Theme::TextColor);
QColor color = Theme::defaultTheme()->color(Theme::ButtonTextColor);
QPalette p = native->palette();
p.setColor(QPalette::Normal, QPalette::Text, color);