[AFV] CContextAudio::m_voiceClient is a raw pointer, and CAfvClient doesn't have a parent

This commit is contained in:
Mat Sutcliffe
2019-10-10 20:46:35 +01:00
parent 2468b2ee49
commit b929eb442a
4 changed files with 11 additions and 10 deletions

View File

@@ -38,8 +38,8 @@ namespace BlackCore
return cats;
}
CAfvClient::CAfvClient(const QString &apiServer, QObject *parent) :
CContinuousWorker(parent, "CAfvClient"),
CAfvClient::CAfvClient(const QString &apiServer, QObject *owner) :
CContinuousWorker(owner, "CAfvClient"),
m_connection(new CClientConnection(apiServer, this)),
m_input(new CInput(SampleRate, this)),
m_output(new Output(this)),