diff options
author | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2011-06-15 11:57:33 (GMT) |
---|---|---|
committer | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2011-06-15 12:17:45 (GMT) |
commit | 5e35452ad8420886f54df89d19205acb88ebb363 (patch) | |
tree | 704ef4cba291c0bf1eab46f225f875ac85821ef0 | |
parent | e4c8505946debcb66f50e92c1441cbc77da60dd2 (diff) | |
download | Qt-5e35452ad8420886f54df89d19205acb88ebb363.zip Qt-5e35452ad8420886f54df89d19205acb88ebb363.tar.gz Qt-5e35452ad8420886f54df89d19205acb88ebb363.tar.bz2 |
Add inputcontext reset to orientation switch in Symbian
Switching orientation double-committed any preedit string in progress,
so added inputcontext reset to KEikDynamicLayoutVariantSwitch handling,
ensuring the string will get only committed once.
Task-number: QTBUG-19864
Reviewed-by: Sami Merila
-rw-r--r-- | src/gui/inputmethod/qcoefepinputcontext_s60.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/inputmethod/qcoefepinputcontext_s60.cpp b/src/gui/inputmethod/qcoefepinputcontext_s60.cpp index b15dcac..947d77a 100644 --- a/src/gui/inputmethod/qcoefepinputcontext_s60.cpp +++ b/src/gui/inputmethod/qcoefepinputcontext_s60.cpp @@ -361,7 +361,8 @@ bool QCoeFepInputContext::symbianFilterEvent(QWidget *keyWidget, const QSymbianE } if (event->type() == QSymbianEvent::ResourceChangeEvent - && event->resourceChangeType() == KEikMessageFadeAllWindows) { + && (event->resourceChangeType() == KEikMessageFadeAllWindows + || event->resourceChangeType() == KEikDynamicLayoutVariantSwitch)) { reset(); } |