summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/eglfs
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@theqtcompany.com>2015-10-27 12:02:54 +0100
committerEdward Welbourne <edward.welbourne@theqtcompany.com>2015-11-02 09:40:32 +0000
commitab1a5f10039429e9114cd905716b31bbec601d60 (patch)
tree9a606055e1e28d46a88eb36d64d44f1e6708a8a5 /src/plugins/platforms/eglfs
parentada4b4aaa5ccb9a41a42eb2b4f8f0e7625e8ef9c (diff)
Fix pauseEvents() test to test what should be true, not what is.
If the future is finished when a watcher starts watching it, it is perfectly reasonable for the watcher to get the finished message promptly. If you pause the watcher before any message loops get to run, the message presently won't get through until the watcher is resumed, but there is no reason to guarantee that; indeed, one could consider it somewhat perverse behavior. So move the reportFinished() calls to after the pause()s. Also eliminate a used-once local variable and use QTRY_VERIFY() in one place where qWait() was used before. Change-Id: I4bc6091fd7437a4d341be511b7a140f3d72d850e Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/plugins/platforms/eglfs')
0 files changed, 0 insertions, 0 deletions