diff --git a/core.cpp b/core.cpp index c8dbfb7a9..a9475071b 100644 --- a/core.cpp +++ b/core.cpp @@ -1525,7 +1525,7 @@ void Core::decreaseVideoBusyness() void Core::micMuteToggle(int callId) { if (calls[callId].audioInput->state() == QAudio::ActiveState) - calls[callId].audioInput->stop(); + calls[callId].audioInput->suspend(); else calls[callId].audioInput->start(); } diff --git a/widget/form/chatform.cpp b/widget/form/chatform.cpp index 1c436cd42..cbb245afb 100644 --- a/widget/form/chatform.cpp +++ b/widget/form/chatform.cpp @@ -569,6 +569,8 @@ void ChatForm::onHangupCallTriggered() { audioInputFlag = !audioInputFlag; emit hangupCall(callId); + micButton->setObjectName("green"); + micButton->style()->polish(micButton); } void ChatForm::onCallTriggered()