mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
fixed some bugs with micButton
This commit is contained in:
parent
a18ba9d7ed
commit
ec1facccf8
2
core.cpp
2
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();
|
||||
}
|
||||
|
@ -569,6 +569,8 @@ void ChatForm::onHangupCallTriggered()
|
||||
{
|
||||
audioInputFlag = !audioInputFlag;
|
||||
emit hangupCall(callId);
|
||||
micButton->setObjectName("green");
|
||||
micButton->style()->polish(micButton);
|
||||
}
|
||||
|
||||
void ChatForm::onCallTriggered()
|
||||
|
Loading…
x
Reference in New Issue
Block a user