From 30d3b89b3bd02c40ca55d071b2fd038a1c40caa6 Mon Sep 17 00:00:00 2001 From: Warchamp7 Date: Thu, 2 Jul 2026 11:14:40 -0400 Subject: [PATCH] frontend: Parent mixer context menu to window Parent the QMenu to the window. Fixes a warning for "QWidgetWindow must be a top level window." --- frontend/components/VolumeControl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/components/VolumeControl.cpp b/frontend/components/VolumeControl.cpp index cabce78d7..be9d325a0 100644 --- a/frontend/components/VolumeControl.cpp +++ b/frontend/components/VolumeControl.cpp @@ -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);