TouchEvent::TouchPoint::pos was not updated in
QGraphicsScenePrivate::updateTouchPointsForItem().
To prevent the transformation being calculated repeatedly for each touch
point member, extract a function genericMapFromSceneTransform()
from genericMapFromScene() returning the transformation and use
that whereever multiple points are transformed.
Add a test, extracting helper functionality from
tst_QGraphicsItem::touchEventPropagation().
In addition, fold tst_QGraphicsScene::checkTouchPointsEllipseDiameters() from
|
||
|---|---|---|
| .. | ||
| testData/render | ||
| .gitignore | ||
| Ash_European.jpg | ||
| BLACKLIST | ||
| graphicsScene_selection.data | ||
| images.qrc | ||
| qgraphicsscene.pro | ||
| testdata.qrc | ||
| tst_qgraphicsscene.cpp | ||