Skip to content

Commit

Permalink
UI: Fix mixer context menu toggling layout on kde
Browse files Browse the repository at this point in the history
This is a weird one. On KDE just clicking in the options or right
clicking the empty space areas of the mixer dock would trigger a layout
change.

This fixes mantis obsproject#1256
  • Loading branch information
admshao committed Aug 19, 2018
1 parent 461af3c commit f452c09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions UI/window-basic-main.cpp
Expand Up @@ -2656,7 +2656,7 @@ void OBSBasic::VolControlContextMenu()

/* ------------------- */

QMenu popup(this);
QMenu popup;
popup.addAction(&unhideAllAction);
popup.addAction(&hideAction);
popup.addAction(&mixerRenameAction);
Expand Down Expand Up @@ -2708,7 +2708,7 @@ void OBSBasic::StackedMixerAreaContextMenuRequested()

/* ------------------- */

QMenu popup(this);
QMenu popup;
popup.addAction(&unhideAllAction);
popup.addSeparator();
popup.addAction(&toggleControlLayoutAction);
Expand Down

0 comments on commit f452c09

Please sign in to comment.