mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-03 20:06:58 +03:00
Change menu role for close action in MainWindow
Fixes issue in Mac OS where pressing Cmd+Q closes only the current window instead of quitting the application.
menuRole is consulted only by Qt's native macOS menu-bar integration, so this change has no effect on Windows, Linux, or BSD.
Fixes #1382
Signed-off-by: Danny <dannydjdk@users.noreply.github.com>
Assisted-by: Claude:claude-opus-4-7
(cherry picked from commit 9621b59573)
This commit is contained in:
parent
5b29ce8301
commit
da6eda04e2
1 changed files with 1 additions and 1 deletions
|
|
@ -520,7 +520,7 @@
|
|||
<string>Close the current window</string>
|
||||
</property>
|
||||
<property name="menuRole">
|
||||
<enum>QAction::QuitRole</enum>
|
||||
<enum>QAction::MenuRole::NoRole</enum>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionViewInstanceFolder">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue