Replace usage of QCursor, and update hoverVisible test.
authorMichael Brasser <michael.brasser@nokia.com>
Wed, 28 Mar 2012 06:46:31 +0000 (16:46 +1000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 28 Mar 2012 12:08:27 +0000 (14:08 +0200)
commit7f5bbcbc3cbe0017538b986bcfa8c134e9e2572e
tree227144ebb56254bbd2bb90386928fdab12b3402e
parent1025b77fe09f010be71ac460475da144e742bf09
Replace usage of QCursor, and update hoverVisible test.

QCursor::pos() doesn't work well with mouse events generated by the test
framework.

Change-Id: I62ee2228c194f21cf17f6271c662056a90c5ef2d
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
src/quick/items/qquickcanvas.cpp
src/quick/items/qquickitem.cpp
tests/auto/quick/qquickmousearea/tst_qquickmousearea.cpp