diff --git a/src/GAudioOutput.cc b/src/GAudioOutput.cc index 6d1e2fff66c07660512536a694393bfc414466b4..f8c498851542ef8aa6a1b8a4d33cd54710d4e7d7 100644 --- a/src/GAudioOutput.cc +++ b/src/GAudioOutput.cc @@ -54,8 +54,8 @@ GAudioOutput::GAudioOutput(QObject *parent) : muted |= qgcApp()->runningUnitTests(); worker->moveToThread(thread); - connect(this, SIGNAL(textToSpeak(QString,int)), worker, SLOT(say(QString,int))); - connect(this, SIGNAL(beepOnce()), worker, SLOT(beep())); + connect(this, &GAudioOutput::textToSpeak, worker, &QGCAudioWorker::say); + connect(this, &GAudioOutput::beepOnce, worker, &QGCAudioWorker::beep); thread->start(); }