Mute all audio on right-click (#6708)

Previously, right-clicking the audio icon muted only the output. Whereas
the switch at the top of the panel mutes all audio (inputs and outputs).

Pairing the right-click to the switch seems a bit less confusing, and
also matches the behaviour with other panels (e.g. Bluetooth, Tailscale,
etc).
This commit is contained in:
Kevin McConnell
2026-08-11 16:30:11 +02:00
committed by GitHub
parent 1c9dfc55f4
commit 5817feb93f
+1 -1
View File
@@ -633,7 +633,7 @@ Panel {
bar: root.bar
text: root.outputIcon()
onPressed: function(b) {
if (b === Qt.RightButton) root.toggleOutputMute()
if (b === Qt.RightButton) root.toggleAllMuted()
else root.toggle()
}