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:
Danny 2026-04-17 21:38:53 -05:00 committed by github-actions[bot]
parent 5b29ce8301
commit da6eda04e2

View file

@ -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">