diff options
author | Richard Moe Gustavsen <richard.gustavsen@nokia.com> | 2011-01-28 08:19:58 (GMT) |
---|---|---|
committer | Richard Moe Gustavsen <richard.gustavsen@nokia.com> | 2011-01-28 08:19:58 (GMT) |
commit | c9d26aa99c8f2279b54e6bb7ea68f30608e7e02a (patch) | |
tree | a46304a666207ac14f7c95a3a8df49aed0aa6c94 /src/gui/kernel/qwidget_mac.mm | |
parent | 48ca1ffefb4accb9578f1efffbcfff354f0d9976 (diff) | |
download | Qt-c9d26aa99c8f2279b54e6bb7ea68f30608e7e02a.zip Qt-c9d26aa99c8f2279b54e6bb7ea68f30608e7e02a.tar.gz Qt-c9d26aa99c8f2279b54e6bb7ea68f30608e7e02a.tar.bz2 |
Cocoa: fix qgraphicsview autotest
Moving the cursor to the corner of the desktop (0, 0) will typically
trigger things to happend in the OS, at least on Mac (spaces, synergy etc).
So I changed those tests to move it to (1, 1) instead. The reason to move
it to (0, 0) was just to get the mouse away from the window anyway.
And second, it takes some time after using QCursor::setPos on Mac
before the events from the move actually arrive. And many tests
that use this function relies on this. So I introduces a little
delay. This alone will fix a couble of tests.
Diffstat (limited to 'src/gui/kernel/qwidget_mac.mm')
0 files changed, 0 insertions, 0 deletions