Commit 1308152a authored by Patrick José Pereira's avatar Patrick José Pereira

AudioOutput: Create text to speech in constructor

Signed-off-by: 's avatarPatrick José Pereira <patrickelectric@gmail.com>
parent 719eec20
......@@ -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