mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-20 05:01:51 -04:00
UI: Fix unused parameter
This commit is contained in:
1 parent
48ba511bda
commit
3d4e8c377c
1 file changed
+3
-1
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user