diff options
author | Timur Pocheptsov <timur.pocheptsov@qt.io> | 2019-07-24 15:47:28 +0200 |
---|---|---|
committer | Timur Pocheptsov <timur.pocheptsov@qt.io> | 2019-07-25 10:15:41 +0200 |
commit | 0ce3f7d62b93427ca5d0f4284ba774691cbbd4a7 (patch) | |
tree | 7922148e2b4bbe77cec38973d45b0d2711babb2a /src/gui/painting/qbackingstore.cpp | |
parent | 65cdd0f36678a6b77caf9cf0007ad44c51f7f7af (diff) |
QMacStyle: workaround NSSliderCell's cached/stale geometry
It's a bit cheesy solution, but works as I've noticed first on
QSlider's with a ticks direction 'both'. Works because we were
already using numberOfTickMarks property to trigger a special
behavior for HIG non-compliant widgets. Works for our case too
- we trigger a geometry update.
Fixes: QTBUG-76811
Change-Id: I2cbf00d42d98e78519b281d138a2f74227ef5449
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/gui/painting/qbackingstore.cpp')
0 files changed, 0 insertions, 0 deletions