diff options
Diffstat (limited to 'src/gui/graphicsview/qgraphicsitem_p.h')
-rw-r--r-- | src/gui/graphicsview/qgraphicsitem_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/graphicsview/qgraphicsitem_p.h b/src/gui/graphicsview/qgraphicsitem_p.h index 38cb757..eedc4a3 100644 --- a/src/gui/graphicsview/qgraphicsitem_p.h +++ b/src/gui/graphicsview/qgraphicsitem_p.h @@ -507,7 +507,7 @@ struct QGraphicsItemPrivate::TransformData x.rotate(rotation, 0, 0, 1); x.scale(scale); x.translate(-xOrigin, -yOrigin); - QTransform t = QGraphicsTransform::project(x); + QTransform t = x.toTransform(); // project the 3D matrix back to 2D. if (postmultiplyTransform) t *= *postmultiplyTransform; return t; |