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) : ...@@ -54,8 +54,8 @@ GAudioOutput::GAudioOutput(QObject *parent) :
muted |= qgcApp()->runningUnitTests(); muted |= qgcApp()->runningUnitTests();
worker->moveToThread(thread); worker->moveToThread(thread);
connect(this, SIGNAL(textToSpeak(QString,int)), worker, SLOT(say(QString,int))); connect(this, &GAudioOutput::textToSpeak, worker, &QGCAudioWorker::say);
connect(this, SIGNAL(beepOnce()), worker, SLOT(beep())); connect(this, &GAudioOutput::beepOnce, worker, &QGCAudioWorker::beep);
thread->start(); 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