summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRhys Weatherley <rhys.weatherley@nokia.com>2009-08-19 04:46:21 (GMT)
committerRhys Weatherley <rhys.weatherley@nokia.com>2009-08-19 04:46:21 (GMT)
commit865a649b68f2b09c887527d42f1216a841c62474 (patch)
tree86b7cc074ca477c9a1c1704ad033972619cf29b3 /src
parent25730d35960f10a51a086115e79e812ae261b5f8 (diff)
downloadQt-865a649b68f2b09c887527d42f1216a841c62474.zip
Qt-865a649b68f2b09c887527d42f1216a841c62474.tar.gz
Qt-865a649b68f2b09c887527d42f1216a841c62474.tar.bz2
Fix comment for QGraphicsTransform::project()
Minor error in the documentation for the projection matrix. Reviewed-by: trustme
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