Fix tst_qgraphicsview::task255529_transformationAnchorMouseAndViewportMargins
authorOlivier Goffart <olivier.goffart@nokia.com>
Fri, 29 Jul 2011 08:44:30 +0000 (10:44 +0200)
committerQt by Nokia <qt-info@nokia.com>
Sun, 31 Jul 2011 23:28:40 +0000 (01:28 +0200)
commit9d16ae8d2ce5478f7387ec70c70be46e76c85796
tree0f6579db4ca5e53c9637796c264029796b82668b
parent2c3382d30574a56b640c46aab7c407d63435d3bb
Fix tst_qgraphicsview::task255529_transformationAnchorMouseAndViewportMargins

If we do not process the event, q->underMouse may return false in
QGraphicsViewPrivate::centerView (as the QEvent::Enter has not been
received yet.)

It was working before if by luck, the window appears under the cursor.

Change-Id: I9b4497683eae20915680297013a9c21fd6275f4b
Reviewed-on: http://codereview.qt.nokia.com/2385
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com>
tests/auto/qgraphicsview/tst_qgraphicsview.cpp