diff options
author | Timur Pocheptsov <timur.pocheptsov@qt.io> | 2022-10-20 15:47:22 +0200 |
---|---|---|
committer | Timur Pocheptsov <timur.pocheptsov@qt.io> | 2022-10-22 19:33:28 +0000 |
commit | 6c2387571a6ccace9edb600ce6798f75affd961d (patch) | |
tree | 90bfdee4043301406d0294bb78c4dd84860e8123 /src/widgets/kernel | |
parent | a7bd656cf40b0cf7ee7f96e6c59974804a4894ba (diff) |
QCocoaMenuBar: avoid duplication of 'special' entries in the 'Edit' menu
For this, after the app's main menu is set, we are looking for a special
menu (which is essentially translates into 'Edit') and check if AppKit
inserted 'Start dictation' magic item. If not - we apply the solution
that Volker implemented in d42cfeb84faf154b46f2811b2059946b396fcc12
for 'Edit' menu - we call insertDefaultEditItems.
Pick-to: 6.4
Fixes: QTBUG-104709
Change-Id: I8fee93c43e7cf974f94d173cd53adf8097b263e0
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/widgets/kernel')
0 files changed, 0 insertions, 0 deletions