summaryrefslogtreecommitdiff
path: root/src/gui/graphicsview/qgraphicstransform.cpp
diff options
context:
space:
mode:
authorRhys Weatherley <rhys.weatherley@nokia.com>2009-08-19 14:46:21 +1000
committerRhys Weatherley <rhys.weatherley@nokia.com>2009-08-19 14:46:21 +1000
commit865a649b68f2b09c887527d42f1216a841c62474 (patch)
tree86b7cc074ca477c9a1c1704ad033972619cf29b3 /src/gui/graphicsview/qgraphicstransform.cpp
parent25730d35960f10a51a086115e79e812ae261b5f8 (diff)
downloadqt4-tools-865a649b68f2b09c887527d42f1216a841c62474.tar.gz
Fix comment for QGraphicsTransform::project()
Minor error in the documentation for the projection matrix. Reviewed-by: trustme
Diffstat (limited to 'src/gui/graphicsview/qgraphicstransform.cpp')
-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 fda4b18fce..b486438ac0 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