Account for when the QGraphicsView is a top level widget v5.2.0-rc1
authorAndy Shaw <andy.shaw@digia.com>
Mon, 25 Nov 2013 10:31:51 +0000 (11:31 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 25 Nov 2013 19:40:11 +0000 (20:40 +0100)
commit840e2817de1eda68f656f9764f824898ebf6d9c2
tree553bf348e700c56d19f7b84c03f6bd3a587be7d2
parenta7084bff6a81db6488e6f517988b196ac0a951e3
Account for when the QGraphicsView is a top level widget

When the QGraphicsView was a top level widget then it would not account
for the transformations as it did not translate the point from the scene
to the view.

[ChangeLog][QtWebKitWidgets][QGraphicsWebView] Make sure that mouse
events for QGraphicsWebView items in a top level QGraphicsView.
Task-number: QTBUG-32179

Change-Id: I2c26580a7e7e5eaec08d71768298e961d3e9d13b
Reviewed-by: Michael Bruning <michael.bruning@digia.com>
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Source/WebKit/qt/WidgetSupport/PageClientQt.cpp