aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJarkko Koivikko <jarkko.koivikko@code-q.fi>2020-02-14 11:52:47 +0000
committerJarkko Koivikko <jarkko.koivikko@code-q.fi>2020-02-14 14:34:48 +0000
commit199491507491df678282185bed633c6942b70182 (patch)
tree4b7adeda03d0dbfa4f9c8a0eae499ea86ba5be2e
parentfeb790953b30d23cbbcacd89d0972997c4ad9ab9 (diff)
Revert "Fix the long press function on the symbol mode key"
This reverts commit feb790953b30d23cbbcacd89d0972997c4ad9ab9. Reason for revert: Back to drawing board. Change-Id: Iece6ea0fd543328ce9793e9cfa09d1f47cbfb59c Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
-rw-r--r--src/virtualkeyboard/content/components/Keyboard.qml8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/virtualkeyboard/content/components/Keyboard.qml b/src/virtualkeyboard/content/components/Keyboard.qml
index 4557b61f..347f1076 100644
--- a/src/virtualkeyboard/content/components/Keyboard.qml
+++ b/src/virtualkeyboard/content/components/Keyboard.qml
@@ -1078,12 +1078,8 @@ Item {
InputContext.inputEngine.virtualKeyCancel()
setActiveKey(key)
press(key, false)
- if (dragSymbolMode) {
- if (key.functionKey && key.key !== Qt.Key_Context1)
- pressAndHoldTimer.restart()
- else
- pressAndHoldTimer.stop()
- }
+ if (dragSymbolMode)
+ pressAndHoldTimer.restart()
}
}
}