summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/graphicsview/qgraphicstransform.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/graphicsview/qgraphicstransform.cpp b/src/gui/graphicsview/qgraphicstransform.cpp
index fda4b18..b486438 100644
--- a/src/gui/graphicsview/qgraphicstransform.cpp
+++ b/src/gui/graphicsview/qgraphicstransform.cpp
@@ -167,7 +167,7 @@ QTransform QGraphicsTransform::project(const QMatrix4x4& matrix)
// | 1 0 0 0 |
// | 0 1 0 0 |
// | 0 0 1 0 |
- // | 0 0 d 0 |
+ // | 0 0 d 1 |
// where d = -1 / 1024. This projection is consistent with the
// Qt::XAxis and Qt::YAxis rotations of QTransform::rotate().
// After projection, row 3 and column 3 are dropped to form