Browse Source

UI: Move "Check For Updates" menu to app menu on macOS

For apps using sparkle, it's normal for the "Check For Updates" button
to be in the app menu instead of the help menu, so let's put it there.
gxalpha 3 years ago
parent
commit
dd564a2e8f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      UI/window-basic-main.cpp

+ 1 - 0
UI/window-basic-main.cpp

@@ -354,6 +354,7 @@ OBSBasic::OBSBasic(QWidget *parent)
 	ui->actionRemoveSource->setShortcuts({Qt::Key_Backspace});
 	ui->actionRemoveScene->setShortcuts({Qt::Key_Backspace});
 
+	ui->actionCheckForUpdates->setMenuRole(QAction::AboutQtRole);
 	ui->action_Settings->setMenuRole(QAction::PreferencesRole);
 	ui->actionE_xit->setMenuRole(QAction::QuitRole);
 #else