mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Remove redundant check starting audio thread
Thanks to @antis81 for spotting it
This commit is contained in:
parent
6425448196
commit
6cad8d8fe9
|
@ -87,10 +87,7 @@ Audio::Audio()
|
|||
connect(&playMono16Timer, &QTimer::timeout, this, &Audio::playMono16SoundCleanup);
|
||||
playMono16Timer.setSingleShot(true);
|
||||
|
||||
if (!audioThread->isRunning())
|
||||
audioThread->start();
|
||||
else
|
||||
qWarning("Audio thread already started -> ignored.");
|
||||
audioThread->start();
|
||||
}
|
||||
|
||||
Audio::~Audio()
|
||||
|
|
Loading…
Reference in New Issue
Block a user