forked from sqlitebrowser/sqlitebrowser
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set menu roles manually where possible
Qt tries to determine the role of a menu item based on its text. If the text is "Preferences" it guesses that that menu item opens the preferences dialog. On MacOS X this means the menu item is moved from the View menu to the application menu. However, for translations this doesn't seem to work, so this commit sets the menu roles manually. At least that's the idea - no idea if it works. See issue sqlitebrowser#200.
- Loading branch information
1 parent
027ba81
commit 848b16f
Showing
1 changed file
with
12 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