summaryrefslogtreecommitdiffstats
path: root/src/corelib/doc/snippets/code/src_corelib_global_qglobal.cpp
diff options
context:
space:
mode:
authorChristian Ehrlicher <ch.ehrlicher@gmx.de>2018-11-18 13:41:52 +0100
committerLiang Qi <liang.qi@qt.io>2018-11-19 11:45:24 +0000
commit8ad9bdf9578d2879d7484c61cf9a46a667f642a4 (patch)
tree9ec35ebdcd5fa67319f0e2391a94141d12c61e00 /src/corelib/doc/snippets/code/src_corelib_global_qglobal.cpp
parent6fdf398ab4b32c7a70af08191963c4e4f5a885fe (diff)
QScrollBar: fix horizontal scrollbars in RTL mode
When a QScrollBar had a stylesheet the subControlRect() was not properly mirrored which lead to a wrong scrolling behavior. Fix it by adjusting the resulting rect with visualRect(). This reverts 00c9ec63a552d040e851b561c11428fabf1a2b08 since it did not completely fixed the issue for all use cases. Fixes: QTBUG-27279 Fixes: QTBUG-38748 Fixes: QTBUG-40443 Change-Id: I19718287be7b4cfc9dbe6951fff99ae48264a855 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'src/corelib/doc/snippets/code/src_corelib_global_qglobal.cpp')
0 files changed, 0 insertions, 0 deletions