diff options
author | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-10-22 15:12:40 +1000 |
---|---|---|
committer | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-10-22 15:12:40 +1000 |
commit | 100afe8da00fdb1661b22e049960ed00a1d3c765 (patch) | |
tree | 7055b6806c9d1ff5a38edee4e9f7b70babe76a0a /tests/auto/qgraphicstransform | |
parent | e7955a49b59a8c2568d1dcabaf6e72aca8a26bb0 (diff) |
Fix a bug in QGraphicsRotation related to 2D projections
The projection to 2D needs to be done when the rotation is applied,
not after all transformations have been applied.
Reviewed-by: trustme
Diffstat (limited to 'tests/auto/qgraphicstransform')
-rw-r--r-- | tests/auto/qgraphicstransform/tst_qgraphicstransform.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qgraphicstransform/tst_qgraphicstransform.cpp b/tests/auto/qgraphicstransform/tst_qgraphicstransform.cpp index b407fef2a2..eb5c09959f 100644 --- a/tests/auto/qgraphicstransform/tst_qgraphicstransform.cpp +++ b/tests/auto/qgraphicstransform/tst_qgraphicstransform.cpp @@ -88,7 +88,7 @@ static QTransform transform2D(const QGraphicsTransform& t) { QMatrix4x4 m; t.applyTo(&m); - return m.toTransform(); + return m.toTransform(0); } void tst_QGraphicsTransform::scale() |