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
b474ff2c2b
commit
a18ba9d7ed
9
core.cpp
9
core.cpp
|
@ -30,7 +30,6 @@
|
|||
#include <QtEndian>
|
||||
#include <QThread>
|
||||
#include <QtConcurrent/QtConcurrent>
|
||||
#include <QMessageBox>
|
||||
|
||||
const QString Core::CONFIG_FILE_NAME = "data";
|
||||
QList<ToxFile> Core::fileSendQueue;
|
||||
|
@ -1525,8 +1524,8 @@ void Core::decreaseVideoBusyness()
|
|||
|
||||
void Core::micMuteToggle(int callId)
|
||||
{
|
||||
// if (calls[callId].audioInput->state() == QAudio::ActiveState)
|
||||
// calls[callId].audioInput->stop();
|
||||
// else
|
||||
// calls[callId].audioInput->start();
|
||||
if (calls[callId].audioInput->state() == QAudio::ActiveState)
|
||||
calls[callId].audioInput->stop();
|
||||
else
|
||||
calls[callId].audioInput->start();
|
||||
}
|
||||
|
|
1519
core.cpp.autosave
1519
core.cpp.autosave
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user