summaryrefslogtreecommitdiffstats
path: root/src/asr/qspeechrecognition.cpp
diff options
context:
space:
mode:
authorTuomas Tuononen <tuomas.tuononen@code-q.fi>2015-09-21 16:59:30 +0300
committerTuomas Tuononen <tuomas.tuononen@code-q.fi>2015-09-23 10:38:36 +0000
commit5f95c7c168e6d5d3c4261d9648e4612489c32e38 (patch)
tree719e07f7184fe86ceffd1fdd15d6bd9ff70eb655 /src/asr/qspeechrecognition.cpp
parent9ccb1176904fc176c2555e6ee4343e39f390d929 (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-xsrc/asr/qspeechrecognition.cpp5
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);