mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-19 17:49:14 +00:00
UI: Fix unused parameter
This commit is contained in:
parent
48ba511bda
commit
3d4e8c377c
|
@ -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…
Reference in a new issue