diff options
| author | Axel Spoerl <axel.spoerl@qt.io> | 2025-06-03 15:39:03 +0200 |
|---|---|---|
| committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2025-06-03 18:56:07 +0000 |
| commit | 36ebec92e81fb8ee7d965ad1a84221d6c779f562 (patch) | |
| tree | f0fa935098e686c05e1ee34dcf79e096fa37315e /src/plugins/sqldrivers/mysql/qsql_mysql.cpp | |
| parent | 77f02471ed263d514c6f6edd170b97d2f6e7b44e (diff) | |
QCocoaMenu: Explicitly remove NSMenu from supermenu on destruction
The d'tor of QCocoaMenu calls dismiss() to remove the current menu.
dismiss() calls cancelTracking, which doesn't always remove the
menu from its parent.
Remove the menu from its parent in addition.
Fixes: QTBUG-135634
Pick-to: 6.10 6.9 6.8 6.5
Change-Id: Ic8e9b4172c3b2035b7e9ad1b576725923987abf2
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/plugins/sqldrivers/mysql/qsql_mysql.cpp')
0 files changed, 0 insertions, 0 deletions
