From e254f456ac99824fbd18296ba4b6f485ad70d7dd Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Thu, 13 Nov 2014 14:29:09 +0100 Subject: [PATCH] fix the mute/unmute button --- shell/contents/views/Dialer.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shell/contents/views/Dialer.qml b/shell/contents/views/Dialer.qml index df75d390..fea0b81a 100644 --- a/shell/contents/views/Dialer.qml +++ b/shell/contents/views/Dialer.qml @@ -232,7 +232,7 @@ Rectangle { DialerIconButton { Layout.fillWidth: true Layout.fillHeight: true - source: dialer.state == "incoming" ? "call-start" : (manager.muteMicrophone ? "audio-volume-high" : "audio-volume-muted") + source: dialer.state == "incoming" ? "call-start" : (manager.isMicrophoneMuted ? "audio-volume-high" : "audio-volume-muted") Rectangle { z: -1 color: dialer.state == "incoming" ? "green" : "white" @@ -249,7 +249,7 @@ Rectangle { manager.activeVoiceCall.answer(); } } else { - manager.setMuteMicrophone(manager.muteMicrophone ? false : true); + manager.isMicrophoneMuted = !manager.isMicrophoneMuted; } } }