The quit menu is now disabled by default.

This commit is contained in:
Leon Styhre 2021-05-23 10:56:49 +02:00
parent d6eba6ae24
commit 958c16cb03

View file

@ -260,11 +260,9 @@ void Settings::setDefaults()
#endif
mBoolMap["DisplayGPUStatistics"] = { false, false };
// macOS requires root privileges to reboot and power off so it doesn't make much
// sense to enable these settings and menu entries for this operating system.
#if defined(__APPLE__)
// sense to enable this setting and menu entry for that operating system.
#if !defined(__APPLE__)
mBoolMap["ShowQuitMenu"] = { false, false };
#else
mBoolMap["ShowQuitMenu"] = { true, true };
#endif
//