summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@theqtcompany.com>2015-09-02 18:22:06 +0200
committerJ-P Nurmi <jpnurmi@theqtcompany.com>2015-09-02 16:56:56 +0000
commit7894e252d192c8fa2e0f9e66ad0c69a086670b05 (patch)
tree611ce720256ce27401f117fb2f8a22347a9f9d9d /src
parent102da7d50231fc5723dba6e72340bef3d29471aa (diff)
QGtkStyle: fix spinbox arrows
Change-Id: I24b94f677a87411637cceaa82f1b47b84cdfb20a Task-number: QTBUG-23346 Reviewed-by: Dmitry Shachnev <mitya57@gmail.com> Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/styles/gtk2/qgtkstyle.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/styles/gtk2/qgtkstyle.cpp b/src/plugins/styles/gtk2/qgtkstyle.cpp
index 20ee2ed..ee1fefe 100644
--- a/src/plugins/styles/gtk2/qgtkstyle.cpp
+++ b/src/plugins/styles/gtk2/qgtkstyle.cpp
@@ -2432,6 +2432,7 @@ void QGtkStyle::drawComplexControl(ComplexControl control, const QStyleOptionCom
arrowRect.moveCenter(downRect.center());
+ state = GTK_STATE_NORMAL;
if (!(option->state & State_Enabled) || !(spinBox->stepEnabled & QAbstractSpinBox::StepDownEnabled))
state = GTK_STATE_INSENSITIVE;