diff options
| author | Vova Mshanetskiy <vovams163@gmail.com> | 2019-04-26 21:42:45 +0300 |
|---|---|---|
| committer | Vova Mshanetskiy <vovams163@gmail.com> | 2019-05-13 14:52:47 +0300 |
| commit | d0741f4267ccc2bbffd59e535fc4432e2d9d852d (patch) | |
| tree | cffa655d3de2083f88014d9d32c1e899f9a29dc2 /src/gui/doc/snippets/textdocumentendsnippet.cpp | |
| parent | 73ca3dbf490b33159ba66e936bcb11fbcd03e886 (diff) | |
QAndroidInputContext: Fix most "Input method out of sync" warnings
According to Android docs start == end in a call to setComposingRegion()
means finish composing. But this case was not being handled properly:
m_composingText was being assigned an empty string, but
m_composingTextStart was being assigned the value of start, which is
never -1.
There is one other possible cause of "Input method out of sync"
warnings, but it is tightly coupled with another bug, so it will be
fixed by a separate commit.
Change-Id: Ie475df84f330453ce4fc623e8b631b435d7d0042
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
Diffstat (limited to 'src/gui/doc/snippets/textdocumentendsnippet.cpp')
0 files changed, 0 insertions, 0 deletions
