UI: Remove redundant addAction call

This removes a redundant addAction call in the studio mode program
context menu.
This commit is contained in:
cg2121 2024-06-11 04:40:02 -05:00 • committed by Lain
commit dcd2f19c83

View file

@ -8407,13 +8407,8 @@ void OBSBasic::ProgramViewContextMenuRequested()
&OBSBasic::OpenStudioProgramProjector);
popup.addMenu(studioProgramProjector);
QAction *studioProgramWindow =
popup.addAction(QTStr("StudioProgramWindow"), this,
&OBSBasic::OpenStudioProgramWindow);
popup.addAction(studioProgramWindow);
popup.addAction(QTStr("StudioProgramWindow"), this,
&OBSBasic::OpenStudioProgramWindow);
popup.addAction(QTStr("Screenshot.StudioProgram"), this,
&OBSBasic::ScreenshotProgram);