diff options
| author | David Faure <david.faure@kdab.com> | 2025-02-10 18:30:00 +0100 |
|---|---|---|
| committer | David Faure <david.faure@kdab.com> | 2025-02-11 12:11:57 +0100 |
| commit | 9dfd8410b07b0c484443ad6355004ace5f9b2b8b (patch) | |
| tree | d7c6b1af28b68c68affe828a4b27043a3864a99b /util/cmake/json_parser.py | |
| parent | 5b52814d643e2a38581850293610acc2d0ee4c69 (diff) | |
QMenu: improve test for "empty menu" to be style-independent
This amends commit 353ce5344fbde5a6cecbdd2c131e1cf0f4b7f383 so that
the behavior doesn't depend on the widget style.
If QStyle::PM_MenuPanelWidth returns 2, then size will be (2x2),
which is hardly a valid menu to show - don't show that either.
Pick-to: 6.9 6.8
Task-number: QTBUG-129108
Change-Id: I2daa05932ea00971880747daeffdfa20a8be3f22
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'util/cmake/json_parser.py')
0 files changed, 0 insertions, 0 deletions
