their textcolor are buttontext now
svn path=/trunk/KDE/kdelibs/; revision=1054737
This commit is contained in:
parent
861fbc9538
commit
ebbb89e543
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user