diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2017-07-06 14:51:52 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2017-07-21 07:34:50 +0000 |
commit | fe99ec537d0d247f8a4150341a25a54ec89353ef (patch) | |
tree | 379f8e11fd35c6ddc62e05b885ae508b6302d348 /src | |
parent | ef63be14186607c2b806f45d257d8aba6e9a6472 (diff) |
Auto tests: incorporate the QEvent::Leave trick to moveMouseAway()
6f1eba89 used QEvent::Leave to make QQuickWindow clear its last known
mouse position, which ensures that QQuickWindow won't send unexpected
hover events from flushFrameSynchronousEvents(). The same hover events
are causing trouble in tst_qquickmenubar too, so incorporate the leave
event trick to moveMouseAway() to benefit from it in other tests too.
Change-Id: I25a285d008d1cb639c7be09d714e482d472b4e50
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions