path: root/src/android
diff options
authorRichard Moe Gustavsen <>2014-10-17 12:33:06 +0200
committerRichard Moe Gustavsen <>2014-10-19 09:57:45 +0200
commite5f48c63d2c6f9a6c4f8a21bcf634111e002ae5b (patch)
treeea0a5121cc3cb7be12985418cc624e97cea9ba37 /src/android
parent32dfbd6dbf8393dcd4e4eaa557902108a2714326 (diff)
Widgets: only update IM if the widget is the current focus object
QInputMethod works on focusObject, not focusWidget. These two are not always the same, and sometimes the focusObject is also NULL. In either case, we should not tell QInputMethod to commit, reset or otherwise emit signals based on the internal state of widgets that are not the focus object. This led to a crash on iOS, since we got a call to cursorRectangleChanged when focus object was NULL, which the code didn't (and shouldn't need to) take into account. Change-Id: I54e40d7ec35210ba6599a78c5a8c7f982a1c3dbb Reviewed-by: Tor Arne Vestbø <>
Diffstat (limited to 'src/android')
0 files changed, 0 insertions, 0 deletions