UI: Remove "Fullscreen Interface" menu on macOS

Removes the "View" -> "Fullscreen Interface" menu entry on macOS, since
macOS automatically adds an entry doing the same thing by itself.
This commit is contained in:
gxalpha 2021-05-28 20:23:53 +02:00 committed by Jim
parent 2f637ede0f
commit 4382591be3

View file

@ -2059,6 +2059,12 @@ void OBSBasic::OBSInit()
#endif
#endif
#ifdef __APPLE__
/* Remove OBS' Fullscreen Interface menu in favor of the one macOS adds by default */
delete ui->actionFullscreenInterface;
ui->actionFullscreenInterface = nullptr;
#endif
#if defined(_WIN32) || defined(__APPLE__)
if (App()->IsUpdaterDisabled())
ui->actionCheckForUpdates->setEnabled(false);