diff options
author | Christian Ehrlicher <[email protected]> | 2025-07-06 13:21:12 +0200 |
---|---|---|
committer | Christian Ehrlicher <[email protected]> | 2025-07-10 22:32:10 +0200 |
commit | 3f04866987618e01a830ea603880597dee5b991f (patch) | |
tree | 00b106ac5b15f89175953ce56916e2d19501101b /qmake/generators/unix/unixmake2.cpp | |
parent | 9bee85b23faf86a394b5477e19dc9f6a589213a5 (diff) |
Windows11Style: fix slider handle animation
The slider handle animation did not work correctly since it was not in
sync with the logic inside QSliderPrivate::updateHoverControl() and
determined by itself if the mouse was over the handle. If the current
value returned by subControlRect(CC_Slider, option, SC_SliderHandle) is
not suitable, then subControlRect for CC_Slider has to be reimplemented
instead.
As a drive-by clean up the code a little bit:
- avoid a second qstyleoption_cast<const QStyleOptionSlider *>()
- don't read _q_inner_radius from property as it's already known
- don't enable antialiasing for QPainter - already done globally
Pick-to: 6.10 6.9
Change-Id: I742c7836736a22e02cc176e7424c4fd947e809eb
Reviewed-by: Wladimir Leuschner <[email protected]>
Diffstat (limited to 'qmake/generators/unix/unixmake2.cpp')
0 files changed, 0 insertions, 0 deletions