From 199491507491df678282185bed633c6942b70182 Mon Sep 17 00:00:00 2001 From: Jarkko Koivikko Date: Fri, 14 Feb 2020 11:52:47 +0000 Subject: 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 --- src/virtualkeyboard/content/components/Keyboard.qml | 8 ++------ 1 file 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() } } } -- cgit v1.2.3