Commit ada2f9c7 authored by Nicolas Fella's avatar Nicolas Fella

Don't play sound when muting

Summary: When the user presses the mute key to mute the sound they explicitely don't want sound. E.g. when they are in a public place and mute their system playing a sound is awkward

Test Plan:
On an unmuted system press mute button -> no sound played
Press mute button again -> sound is played

Reviewers: drosca, #plasma

Reviewed By: drosca

Subscribers: plasma-devel

Tags: #plasma

Differential Revision:
parent 61259acd
......@@ -109,7 +109,9 @@ Item {
var toMute = !paSinkModel.preferredSink.muted;
paSinkModel.preferredSink.muted = toMute; ? 0 : volumePercent(paSinkModel.preferredSink.volume, maxVolumeValue));
if (!toMute) {
function increaseMicrophoneVolume() {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment