diff options
| author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2021-06-05 11:29:11 +0200 |
|---|---|---|
| committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2021-06-09 18:19:15 +0200 |
| commit | 0965cf0f1e49185097b0698e51ea9ad464eaa573 (patch) | |
| tree | 6973a9dba406708376d11e4efaefe1c57956b0b6 /src/opengl/qplatformbackingstoreopenglsupport.cpp | |
| parent | b1fdcc8c0fefe0660302494618032342b623e199 (diff) | |
QTabBar: don't let tab shine through (semi-transparent) scroll buttons
On styles where the tab bar's scroll buttons are rendered semi-
transparently, or where the buttons don't fill their entire rect (for
example have rounded edges), the tab that's covered by the buttons
should not shine through the gaps, or even shine through the button.
Clip the painter so that the area of each button is not painted by the
tabs.
Fixes: QTBUG-50866
Pick-to: 6.1 6.2
Change-Id: Ie81f6d260f36d5a17868822e683745844a6a6b2f
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'src/opengl/qplatformbackingstoreopenglsupport.cpp')
0 files changed, 0 insertions, 0 deletions
