Commit 8eefc3a0 authored by Andras Becsi's avatar Andras Becsi
Browse files

Force active focus for touch begin


This fixes the focusing issues on touch devices.

Change-Id: I26c0080ea70aeabbd608e15fbd3705b907bdb68e
Reviewed-by: default avatarJocelyn Turcotte <jocelyn.turcotte@digia.com>
Showing with 2 additions and 0 deletions
......@@ -192,6 +192,8 @@ void RenderWidgetHostViewQtDelegateQuick::wheelEvent(QWheelEvent *event)
void RenderWidgetHostViewQtDelegateQuick::touchEvent(QTouchEvent *event)
{
if (event->type() == QEvent::TouchBegin && !m_isPopup)
forceActiveFocus();
m_client->forwardEvent(event);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment