mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 06:05:38 +00:00
(macOS) Fixed an error log entry about a nonexistent ShowQuitMenu setting when opening the main menu
This commit is contained in:
parent
60c172b2d8
commit
60b958665f
|
@ -66,10 +66,14 @@ GuiMenu::GuiMenu()
|
|||
|
||||
if (!Settings::getInstance()->getBool("ForceKiosk") &&
|
||||
Settings::getInstance()->getString("UIMode") != "kiosk") {
|
||||
#if defined(__APPLE__)
|
||||
addEntry("QUIT EMULATIONSTATION", 0x777777FF, false, [this] { openQuitMenu(); });
|
||||
#else
|
||||
if (Settings::getInstance()->getBool("ShowQuitMenu"))
|
||||
addEntry("QUIT", 0x777777FF, true, [this] { openQuitMenu(); });
|
||||
else
|
||||
addEntry("QUIT EMULATIONSTATION", 0x777777FF, false, [this] { openQuitMenu(); });
|
||||
#endif
|
||||
}
|
||||
|
||||
addChild(&mMenu);
|
||||
|
|
Loading…
Reference in a new issue