summaryrefslogtreecommitdiff
path: root/src/components/qt_hmi/qml_model_qt5/popups/TTSPopUp.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/qt_hmi/qml_model_qt5/popups/TTSPopUp.qml')
-rw-r--r--src/components/qt_hmi/qml_model_qt5/popups/TTSPopUp.qml8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/components/qt_hmi/qml_model_qt5/popups/TTSPopUp.qml b/src/components/qt_hmi/qml_model_qt5/popups/TTSPopUp.qml
index d16015ec56..33f82013b2 100644
--- a/src/components/qt_hmi/qml_model_qt5/popups/TTSPopUp.qml
+++ b/src/components/qt_hmi/qml_model_qt5/popups/TTSPopUp.qml
@@ -42,7 +42,6 @@ PopUp {
width: Constants.ttsPopUpWidth
padding: Constants.ttsPopUpPadding
property var async
- property string helpPromptstr
ScrollView {
anchors.fill: parent
@@ -51,7 +50,6 @@ PopUp {
anchors.fill: parent
color: Constants.popUpBorderColor
font.pixelSize: Constants.ttsFontSize
- text:""
}
}
@@ -65,16 +63,12 @@ PopUp {
Timer {
id: ttsPerformInteractionTimer
interval: Constants.ttsSpeakTime
- onTriggered:
- if(interactionPopup.performInteractionIsActiveNow)
- activate(message)
+ onTriggered: activate(message)
property var message: undefined
}
]
function performInteraction(helpPrompt, initialPrompt, timeoutPrompt, timeout) {
- console.debug("Activate TTS popup:", "message");
- helpPromptstr = helpPrompt
activate(initialPrompt);
if (timeout * 2 - Constants.ttsSpeakTime > 0) {
ttsPerformInteractionTimer.message = timeoutPrompt;