diff options
author | Andrew den Exter <andrew.den-exter@nokia.com> | 2011-02-09 06:34:57 (GMT) |
---|---|---|
committer | Andrew den Exter <andrew.den-exter@nokia.com> | 2011-02-09 07:01:15 (GMT) |
commit | 1759f7d688903210a142d7f93a6d173c52995d2f (patch) | |
tree | 9af3b637f86cc586d202e932f63af3c96d7146c1 /src | |
parent | eb1db74fb59ecb40d541644ce31ce7ec7b2620d2 (diff) | |
download | Qt-1759f7d688903210a142d7f93a6d173c52995d2f.zip Qt-1759f7d688903210a142d7f93a6d173c52995d2f.tar.gz Qt-1759f7d688903210a142d7f93a6d173c52995d2f.tar.bz2 |
Fix auto test failure.
Allow the input context to be reset twice. The context is reset
because of two events, the first is because an item lost focus and that
reset needs to occur before the focus moves away from the item or events
won't be delivered to it. The second redundant reset is because the
Qt::WA_InputMethodEnabled flag was cleared on the view widget because
no item has focus and it has no way to know the context doesn't need
to be reset.
Change-Id: Ie3b3fc6898d144ed3f8b3822e49ea0eee7e029f4
Reviewed-by: Martin Jones
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions