diff options
author | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2019-12-04 17:15:30 +0100 |
---|---|---|
committer | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2019-12-05 13:56:09 +0100 |
commit | 97ac281c1d70dcfbb137e5a83e24a747e9510116 (patch) | |
tree | 7e840b62402f539f0d56253685a31e587e4b36a9 /src/widgets/itemviews | |
parent | 925b33bdaabc7d07d6910d5696af1ff49287d8fa (diff) |
QStyleSheetStyle: properly honor checkmark size when drawing a QMenu
When drawing a QMenu which is checkable but does not have an icon
somewhere, the width of the (possible) checkmark was not considered
during drawing and the text was drawn over the checkmark. Also the wrong
state was checked for drawing the checked icon (if one was given).
Fixes: QTBUG-80506
Task-number: QTBUG-78238
Change-Id: Icf8aa37aab424564054d3549defee93eb0d7c1a4
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
Diffstat (limited to 'src/widgets/itemviews')
0 files changed, 0 insertions, 0 deletions