diff options
author | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2011-06-07 12:32:58 (GMT) |
---|---|---|
committer | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2011-06-07 12:32:58 (GMT) |
commit | 071088a8bd1bac104adfcb648cd81e6c020e4e69 (patch) | |
tree | a335c695b3cf3570e4119924963fe2260e185d2a /src | |
parent | 34b888b2c6455cdcd4f931f6a5a038636cf951eb (diff) | |
download | Qt-071088a8bd1bac104adfcb648cd81e6c020e4e69.zip Qt-071088a8bd1bac104adfcb648cd81e6c020e4e69.tar.gz Qt-071088a8bd1bac104adfcb648cd81e6c020e4e69.tar.bz2 |
Reset input context in Symbian when another window is opened.
When symbol menu is opened, input context needs to be reset or
preedit string duplication may occur after symbol menu is closed.
Task-number: QTBUG-19528
Reviewed-by: Sami Merila
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/inputmethod/qcoefepinputcontext_s60.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/inputmethod/qcoefepinputcontext_s60.cpp b/src/gui/inputmethod/qcoefepinputcontext_s60.cpp index f057e0a..b513365 100644 --- a/src/gui/inputmethod/qcoefepinputcontext_s60.cpp +++ b/src/gui/inputmethod/qcoefepinputcontext_s60.cpp @@ -360,6 +360,11 @@ bool QCoeFepInputContext::symbianFilterEvent(QWidget *keyWidget, const QSymbianE } } + if (event->type() == QSymbianEvent::ResourceChangeEvent + && event->resourceChangeType() == KEikMessageFadeAllWindows) { + reset(); + } + return false; } |