summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/wasm/qwasminputcontext.h
diff options
context:
space:
mode:
authorLorn Potter <lorn.potter@gmail.com>2023-06-23 16:54:33 +1000
committerLorn Potter <lorn.potter@gmail.com>2023-09-11 08:45:49 +1000
commiteda0ccb36baae10784f71552408148f095d25953 (patch)
treeb752fcd7bc2e2c755c8b33877bd8d56e1b61ab11 /src/plugins/platforms/wasm/qwasminputcontext.h
parent087d267a44ec92ffc46d4733bd20a009912723c7 (diff)
wasm: send key release for touchscreen input
Fixes: QTBUG-114203 Pick-to: 6.6 6.5 Change-Id: I117ce857484520167d0c0166280dd604c139ff03 Reviewed-by: Piotr Wierciński <piotr.wiercinski@qt.io> Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to 'src/plugins/platforms/wasm/qwasminputcontext.h')
-rw-r--r--src/plugins/platforms/wasm/qwasminputcontext.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/wasm/qwasminputcontext.h b/src/plugins/platforms/wasm/qwasminputcontext.h
index 7e07220bd2..eb840742fc 100644
--- a/src/plugins/platforms/wasm/qwasminputcontext.h
+++ b/src/plugins/platforms/wasm/qwasminputcontext.h
@@ -40,7 +40,7 @@ private:
emscripten::val m_inputElement = emscripten::val::null();
std::unique_ptr<qstdweb::EventCallback> m_blurEventHandler;
std::unique_ptr<qstdweb::EventCallback> m_inputEventHandler;
- static int androidKeyboardCallback(int eventType,
+ static int inputMethodKeyboardCallback(int eventType,
const EmscriptenKeyboardEvent *keyEvent, void *userData);
bool inputPanelIsOpen = false;
};