diff options
| author | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2019-09-20 22:27:44 +0200 |
|---|---|---|
| committer | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2019-09-23 18:39:08 +0200 |
| commit | 70c053ee684448984b1f762abd3b40884cece2fa (patch) | |
| tree | 666dea7bc2baa45130413b9971ae956b0ffc40f2 /examples/opengl/cube/geometryengine.cpp | |
| parent | 1d1ed017119df2cd28a9e21aee0a8cece5282250 (diff) | |
QAbstractSpinBox css: properly honor spincontrol-disable-on-bounds
The css style 'spincontrol-disable-on-bounds' was not properly honored
within QAbstractSpinBox::initStyleOption() because the affected widget
was not passed to QStyle::styleHint(). Therefore QStyleSheetStyle did
not find the correct render rule.
Fix it by passing 'this' as third argument to QStyle::styleHint().
Fixes: QTBUG-18008
Change-Id: Iabcebf0b83143f45309b4e7066bccb8d20bd0419
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
Diffstat (limited to 'examples/opengl/cube/geometryengine.cpp')
0 files changed, 0 insertions, 0 deletions
