summaryrefslogtreecommitdiff
path: root/src/controls/Styles/Android/CursorHandleStyle.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/controls/Styles/Android/CursorHandleStyle.qml')
-rw-r--r--src/controls/Styles/Android/CursorHandleStyle.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/controls/Styles/Android/CursorHandleStyle.qml b/src/controls/Styles/Android/CursorHandleStyle.qml
index 636e3688..a4b772c5 100644
--- a/src/controls/Styles/Android/CursorHandleStyle.qml
+++ b/src/controls/Styles/Android/CursorHandleStyle.qml
@@ -69,7 +69,7 @@ DrawableLoader {
Connections {
target: styleData
onActivated: idle.restart()
- onPressedChanged: {
+ function onPressedChanged() {
if (!styleData.pressed)
idle.restart()
}
@@ -82,9 +82,9 @@ DrawableLoader {
Connections {
target: editor
ignoreUnknownSignals: true
- onTextChanged: if (!ignore.running) idle.stop()
- onDisplayTextChanged: if (!ignore.running) idle.stop()
- onInputMethodComposing: if (!ignore.running) idle.stop()
+ function onTextChanged() { if (!ignore.running) idle.stop() }
+ function onDisplayTextChanged() { if (!ignore.running) idle.stop() }
+ function onInputMethodComposing() { if (!ignore.running) idle.stop() }
}
Timer {