summaryrefslogtreecommitdiffstats
path: root/src/webengine
diff options
context:
space:
mode:
authorZeno Albisser <zeno.albisser@digia.com>2014-02-07 13:07:29 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-02-08 11:35:31 +0100
commit19715fbc5bbaf03506372b38b6c2e34d759faee3 (patch)
tree3d058c9d1936f6d19f2f3b222a688f8a6902b7a5 /src/webengine
parent8ca06a55c074b9bf2509b6ec7b15d073030e5e40 (diff)
Implement basic support for input method events.
This is needed to get text input working again on Mac. Underlines are currently being ignored. Change-Id: I2a1074a1151e9be6f96ebe12fd0bb40a0eb63d6a Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
Diffstat (limited to 'src/webengine')
-rw-r--r--src/webengine/render_widget_host_view_qt_delegate_quick.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/webengine/render_widget_host_view_qt_delegate_quick.h b/src/webengine/render_widget_host_view_qt_delegate_quick.h
index 9c7bba35..9dbe7994 100644
--- a/src/webengine/render_widget_host_view_qt_delegate_quick.h
+++ b/src/webengine/render_widget_host_view_qt_delegate_quick.h
@@ -202,6 +202,11 @@ public:
return m_client->inputMethodQuery(query);
}
+ virtual void inputMethodEvent(QInputMethodEvent *event) Q_DECL_OVERRIDE
+ {
+ m_client->forwardEvent(event);
+ }
+
protected:
void geometryChanged(const QRectF &newGeometry, const QRectF &oldGeometry)
{