From ca4e345c1512c33ceeb72a8d9467eec2b1cad280 Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Fri, 29 Oct 2010 17:25:24 +0000 Subject: [PATCH] use button text for normal text, preserves theme compatibility with prior releases svn path=/trunk/KDE/kdelibs/; revision=1191136 --- widgets/lineedit.cpp | 1 + widgets/spinbox.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/widgets/lineedit.cpp b/widgets/lineedit.cpp index af3ca7525..d5766d1e5 100644 --- a/widgets/lineedit.cpp +++ b/widgets/lineedit.cpp @@ -42,6 +42,7 @@ public: LineEditPrivate(LineEdit *lineEdit) : ThemedWidgetInterface(lineEdit) { + buttonColorForText = true; } ~LineEditPrivate() diff --git a/widgets/spinbox.cpp b/widgets/spinbox.cpp index cb9b89207..b99414709 100644 --- a/widgets/spinbox.cpp +++ b/widgets/spinbox.cpp @@ -43,6 +43,7 @@ public: : ThemedWidgetInterface(spinBox), focusIndicator(0) { + buttonColorForText = true; } ~SpinBoxPrivate()