1
0
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:
tux3 2016-01-22 00:44:23 +01:00
parent 6425448196
commit 6cad8d8fe9
No known key found for this signature in database
GPG Key ID: 7E086DD661263264

View File

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