mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 14:15: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") &&
|
if (!Settings::getInstance()->getBool("ForceKiosk") &&
|
||||||
Settings::getInstance()->getString("UIMode") != "kiosk") {
|
Settings::getInstance()->getString("UIMode") != "kiosk") {
|
||||||
|
#if defined(__APPLE__)
|
||||||
|
addEntry("QUIT EMULATIONSTATION", 0x777777FF, false, [this] { openQuitMenu(); });
|
||||||
|
#else
|
||||||
if (Settings::getInstance()->getBool("ShowQuitMenu"))
|
if (Settings::getInstance()->getBool("ShowQuitMenu"))
|
||||||
addEntry("QUIT", 0x777777FF, true, [this] { openQuitMenu(); });
|
addEntry("QUIT", 0x777777FF, true, [this] { openQuitMenu(); });
|
||||||
else
|
else
|
||||||
addEntry("QUIT EMULATIONSTATION", 0x777777FF, false, [this] { openQuitMenu(); });
|
addEntry("QUIT EMULATIONSTATION", 0x777777FF, false, [this] { openQuitMenu(); });
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
addChild(&mMenu);
|
addChild(&mMenu);
|
||||||
|
|
Loading…
Reference in a new issue