diff options
author | Tuomas Tuononen <tuomas.tuononen@code-q.fi> | 2015-10-06 14:27:22 +0300 |
---|---|---|
committer | Tuomas Tuononen <tuomas.tuononen@code-q.fi> | 2015-10-14 07:18:48 +0000 |
commit | cbc60277e57ed07fa58872bb7d9221da2b677e8a (patch) | |
tree | e404b673867847126e50524b989ed3ffddc57310 | |
parent | 97bbd1f8b370584c0829ed4606e37e0de1bcb6db (diff) |
SpeechRecognition: Fix locale parameter in the QML example application
Change-Id: Ie0ecadb6efb3b4a44be7bb82021f12aa8a1688a3
Reviewed-by: Johannes Oikarinen <johannes.oikarinen@digia.com>
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com>
-rw-r--r-- | examples/speech/qmlspeech/main.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/speech/qmlspeech/main.qml b/examples/speech/qmlspeech/main.qml index 08b200a..6e9ef2d 100644 --- a/examples/speech/qmlspeech/main.qml +++ b/examples/speech/qmlspeech/main.qml @@ -53,7 +53,7 @@ ApplicationWindow { property url mainGrammarFile: "qrc:grammar/main" property url yesNoGrammarFile: "qrc:grammar/yesno" property var engine: createEngine("local", "pocketsphinx", - { "Locale" : "en_US", + { "Locale" : Qt.locale("en_US"), "ResourceDirectory" : resourceDir, //"DebugAudioDirectory" : "/tmp", "Dictionary" : dictionaryFile }) |