UI: Fix mixer context menu toggling layout on kde

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 #1256
This commit is contained in:
Shaolin 2018-08-19 04:57:16 -03:00
parent 461af3cd5d
commit f452c09f82

View file

@ -2656,7 +2656,7 @@ void OBSBasic::VolControlContextMenu()
/* ------------------- */
QMenu popup(this);
QMenu popup;
popup.addAction(&unhideAllAction);
popup.addAction(&hideAction);
popup.addAction(&mixerRenameAction);
@ -2708,7 +2708,7 @@ void OBSBasic::StackedMixerAreaContextMenuRequested()
/* ------------------- */
QMenu popup(this);
QMenu popup;
popup.addAction(&unhideAllAction);
popup.addSeparator();
popup.addAction(&toggleControlLayoutAction);