Change class constructors to include parent

This commit is contained in:
Phil Taylor 2022-05-08 19:31:05 +01:00
parent 2769f3a7a8
commit fc451b99bd
16 changed files with 32 additions and 30 deletions

View file

@ -10,7 +10,7 @@
audioHandler::audioHandler(QObject* parent)
audioHandler::audioHandler(QObject* parent) : QObject(parent)
{
Q_UNUSED(parent)
}
@ -112,7 +112,7 @@ bool audioHandler::init(audioSetup setup)
// We "hopefully" now have a valid format that is supported so try connecting
converter = new audioConverter();
converter = new audioConverter(this);
converterThread = new QThread(this);
if (setup.isinput) {
converterThread->setObjectName("audioConvIn()");