diff options
| author | Doris Verria <doris.verria@qt.io> | 2021-05-04 12:13:39 +0200 |
|---|---|---|
| committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2021-05-07 12:41:02 +0000 |
| commit | 05f7dd5ead5927ef7b3301380b81d7194d9e0593 (patch) | |
| tree | 59d8be0d4784887bc61561f9d23dead324d1b957 /src/corelib/kernel/qmetaobjectbuilder.cpp | |
| parent | 441ff065e5d212f139411416066813514c3ae1a2 (diff) | |
Don't draw focus frame if widget has style rules that affect border
Skip drawing the focus ring if the widget has a custom styled
border, custom focus ring, or any rule that affects the border.
For QPushButton, if the style rule has a background
set, the bevel will be drawn in the Windows style.
Skip drawing the Mac focus frame in that case too.
Fixes: QTBUG-93032
Pick-to: 5.15 6.1
Change-Id: I7c4d4bf6f6ce7bbcd17cd620586c5efa44f2b8d6
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/corelib/kernel/qmetaobjectbuilder.cpp')
0 files changed, 0 insertions, 0 deletions
