Gui: Restore 'Exit' menu text for Linux/Windows

Only macOS appears to set the text based on the menu item's role.
This commit is contained in:
Chris Hennes
2025-11-10 16:08:21 -06:00
committed by Kacper Donat
parent 80080d9fde
commit 44c73fdd5b

View File

@@ -986,7 +986,7 @@ StdCmdQuit::StdCmdQuit()
:Command("Std_Quit")
{
sGroup = "File";
// sMenuText = No menu text here, Qt sets it based on QAction::QuitRole
sMenuText = QT_TR_NOOP("E&xit");
sToolTipText = QT_TR_NOOP("Quits the application");
sWhatsThis = "Std_Quit";
sStatusTip = sToolTipText;