Commit e3216f87 authored by Bryant's avatar Bryant

Switch GAudioOutput to new-style signal/slots.

parent f743d7d6
......@@ -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();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment