diff options
author | Jarkko Koivikko <jarkko.koivikko@code-q.fi> | 2015-11-26 14:56:11 +0200 |
---|---|---|
committer | Jarkko Koivikko <jarkko.koivikko@code-q.fi> | 2015-11-27 11:02:10 +0000 |
commit | 52cd240a4d11e297f67e620f3516064105cc0de1 (patch) | |
tree | 5e953238ae6bf0a7bd51f213bb72186157c11831 /src/virtualkeyboard/shifthandler.cpp | |
parent | 296f52c04968a06200f256dfaf58c563bf193f10 (diff) |
Fix key click simulation on low performance hardware
The key click sequence contains waitForRendering call between the
mouse press and release. If the UI happens to make some garbage
collection during the call, the key press could trigger long key
press and confuse the test case.
Now the time between the mouse press and release is made constant,
so the garbage collection cannot interfere the test sequence. The
waitForRendering is now called after the mouse release.
Change-Id: I5f1b995d92a2ee01a355574f58bbf909906caaf7
Reviewed-by: Rainer Keller <rainer.keller@theqtcompany.com>
Diffstat (limited to 'src/virtualkeyboard/shifthandler.cpp')
0 files changed, 0 insertions, 0 deletions