1
0
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:
midnight079 2014-08-19 21:11:27 +04:00 committed by Tux3 / Mlkj / !Lev.uXFMLA
parent b474ff2c2b
commit a18ba9d7ed
2 changed files with 4 additions and 1524 deletions

View File

@ -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();
}

File diff suppressed because it is too large Load Diff