-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use native menubar on macOS, not elsewhere (i.e. Linux) (#695)
* Use native menubar on macOS, not elsewhere (i.e. Linux) * Add menu roles for better mac menus Adding "menuRole" properties to standard menu actions (About, Preferences, Quit) lets Qt move them to their standard place in the macOS menu bar (without having to rely on their text content, which breaks when localizing). This also automatically sets the "Preferences" shortcut to the standard "Cmd+," instead of "Cmd+P". This should have no impact on other platforms. See https://doc.qt.io/qt-6/qmenubar.html#qmenubar-as-a-global-menu-bar
- Loading branch information
1 parent
889c638
commit a03774e
Showing
2 changed files
with
15 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters