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>
Tue, 28 Feb 2012 14:35:06 +0000 (15:35 +0100)
commit15c14584199dc43e4a309fc331f3144009008128
tree73dcda7d6170e5e5b5fc699dac6880798db9d0f3
parent76225943555cf3540d137875c09e4e8db8fd33fb
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>
src/gui/graphicsview/qgraphicsscene.cpp