frontend: Parent mixer context menu to window

Parent the QMenu to the window. Fixes a warning for "QWidgetWindow
must be a top level window."
This commit is contained in:
Warchamp7
2026-07-02 11:14:40 -04:00
committed by Ryan Foster
parent 1b0fc3b8be
commit 30d3b89b3b
+1 -1
View File
@@ -393,7 +393,7 @@ void VolumeControl::showVolumeControlMenu(QPoint pos)
return;
}
QMenu *popup = new QMenu(this);
QMenu *popup = new QMenu(window());
// Create menu QActions
QAction *lockAction = new QAction(QTStr("LockVolume"), popup);