diff options
author | Richard Moe Gustavsen <[email protected]> | 2024-04-11 11:05:23 +0200 |
---|---|---|
committer | Richard Moe Gustavsen <[email protected]> | 2024-04-19 08:58:17 +0200 |
commit | f08c3bcc2563da4c7550dda2259b83cf5b9957f8 (patch) | |
tree | 9f7af58d286d0da165356eeb936aaa978930935e /tests/manual/quickcontrols | |
parent | 08856a4dfe3ade05a7fc9ac9cacfb14edfe6bbe4 (diff) |
QQuickMenu and MenuBar: add support for hiding and showing MenuBarItems
To hide a MenuBarItem from a native menu bar, we need to
remove and delete the native menu it maps to from QPA as
well (there is no way to hide it by other means). And when
we do so, we also need to remove and delete all the native
menu items inside the QQuickMenu as well. Otherwise the menu
items will continue to exist, but belong to a native menu
that has been removed and deleted.
Task-number: QTBUG-65461
Change-Id: I5767e4c08f64fc09246c61124acc856627a227ec
Reviewed-by: Mitch Curtis <[email protected]>
Diffstat (limited to 'tests/manual/quickcontrols')
0 files changed, 0 insertions, 0 deletions