Revert "Don't rely on mapFromGlobal in QGraphicsScenePrivate::itemsAtPosition."
authorJonathan Liu <net147@gmail.com>
Thu, 23 Feb 2012 13:42:34 +0000 (00:42 +1100)
committerQt by Nokia <qt-info@nokia.com>
Fri, 2 Mar 2012 14:33:04 +0000 (15:33 +0100)
commit286229ca1495c6c872b8e5e0c4bf3dd61c64efda
tree60a64e404c79946744e0a75096c784e347d7a63c
parent70578e4fc7ecb8db30c7ca8b2d427ce99bd35eb4
Revert "Don't rely on mapFromGlobal in QGraphicsScenePrivate::itemsAtPosition."

This reverts commit 7c0d15a22266a425c9e9ac0120d6774e120fe01e.
The commit caused a regression whereby tooltips may be shown even if the
mouse is not over the item if it has the Qt::ItemIgnoresTransformations
flag and the QGraphicsView had been scaled.

Task-number: QTBUG-17517
Task-number: QTBUG-22663
Change-Id: Ib7fd788d9712c5e659fe07182f9505a4eb135ab2
Reviewed-by: Andy Shaw <andy.shaw@digia.com>
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
(cherry picked from commit 15c14584199dc43e4a309fc331f3144009008128)
src/widgets/graphicsview/qgraphicsscene.cpp