diff options
author | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2010-08-25 12:27:27 (GMT) |
---|---|---|
committer | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2010-08-25 12:59:20 (GMT) |
commit | 7c0d15a22266a425c9e9ac0120d6774e120fe01e (patch) | |
tree | c5838834f1f6e5e7615e2af1c157365733b2c6c7 /src/gui/kernel/qaction_p.h | |
parent | d2089600ea247b5d6354e8eee4becf40802c4693 (diff) | |
download | Qt-7c0d15a22266a425c9e9ac0120d6774e120fe01e.zip Qt-7c0d15a22266a425c9e9ac0120d6774e120fe01e.tar.gz Qt-7c0d15a22266a425c9e9ac0120d6774e120fe01e.tar.bz2 |
Don't rely on mapFromGlobal in QGraphicsScenePrivate::itemsAtPosition.
The old approach discovered a bug in QWidget::mapToGlobal in the context of
lighthouse, which in turn brought our eyes to
QGraphicsScenePrivate::itemsAtPosition. The implementation itself was
correct, but we can easily remove the-not-so-cheap mapToGlobal call
since we already have the scene position, which is all we need.
This functionality is heavily tested by existing auto tests, and all of
them pass.
Reviewed-by: mae
Diffstat (limited to 'src/gui/kernel/qaction_p.h')
0 files changed, 0 insertions, 0 deletions