Unverified Commit a67223f1 authored by Don Gagne's avatar Don Gagne Committed by GitHub

Merge pull request #6176 from patrickelectric/audioOutput

AudioOutput: Create text to speech in constructor
parents a6e693d4 1308152a
......@@ -18,8 +18,8 @@
AudioOutput::AudioOutput(QGCApplication* app, QGCToolbox* toolbox)
: QGCTool(app, toolbox)
, _tts(new QTextToSpeech(this))
{
_tts = new QTextToSpeech(this);
connect(_tts, &QTextToSpeech::stateChanged, this, &AudioOutput::_stateChanged);
}
......
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