diff options
author | Tuomas Tuononen <tuomas.tuononen@code-q.fi> | 2015-09-21 16:59:30 +0300 |
---|---|---|
committer | Tuomas Tuononen <tuomas.tuononen@code-q.fi> | 2015-09-23 10:38:36 +0000 |
commit | 5f95c7c168e6d5d3c4261d9648e4612489c32e38 (patch) | |
tree | 719e07f7184fe86ceffd1fdd15d6bd9ff70eb655 /src/asr/qspeechrecognition.cpp | |
parent | 9ccb1176904fc176c2555e6ee4343e39f390d929 (diff) |
SpeechRecognition: Simplify connection from engine handle to the manager
No reason to route QSpeechRecognitionEngine::setParameter()
through QSpeechRecognition class.
Change-Id: Ib36f3d7af0513beda09a4e85fb70a5661cbb8170
Reviewed-by: Andrew Knight <andrew.knight@intopalo.com>
Diffstat (limited to 'src/asr/qspeechrecognition.cpp')
-rwxr-xr-x | src/asr/qspeechrecognition.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/asr/qspeechrecognition.cpp b/src/asr/qspeechrecognition.cpp index d7a8790..3cc19ee 100755 --- a/src/asr/qspeechrecognition.cpp +++ b/src/asr/qspeechrecognition.cpp @@ -742,11 +742,6 @@ void QSpeechRecognitionPrivate::onUnmuteTimeout() } } -void QSpeechRecognitionPrivate::onSetEngineParameter(QSpeechRecognitionEngineImpl *engine, const QString &key, const QVariant &value) -{ - emit m_managerInterface->setEngineParameter(engine->name(), key, value); -} - void QSpeechRecognitionPrivate::setState(QSpeechRecognition::State state) { Q_Q(QSpeechRecognition); |