UI: Fix unused parameter
This commit is contained in:
parent
48ba511bda
commit
3d4e8c377c
1 changed files with 3 additions and 1 deletions
|
|
@ -7681,7 +7681,9 @@ void OBSBasic::IconActivated(QSystemTrayIcon::ActivationReason reason)
|
|||
AddProjectorMenuMonitors(studioProgramProjector, this,
|
||||
SLOT(OpenStudioProgramProjector()));
|
||||
|
||||
#ifndef __APPLE__
|
||||
#ifdef __APPLE__
|
||||
UNUSED_PARAMETER(reason);
|
||||
#else
|
||||
if (reason == QSystemTrayIcon::Trigger) {
|
||||
EnablePreviewDisplay(previewEnabled && !isVisible());
|
||||
ToggleShowHide();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue