summaryrefslogtreecommitdiffstats
path: root/src/gui/painting
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-12-04 18:33:53 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-12-04 18:33:53 (GMT)
commit1bb5999cdca0a70df3f96d596c83c3cf7c97c5fd (patch)
tree71c03d33b9c36fb78a6bc11b8994720ca3823f79 /src/gui/painting
parent696099f8e3179787114df40d6ce6fef97bfa33dc (diff)
parentc0b81480b2909b18ac15bdd124a562ae005c2f41 (diff)
downloadQt-1bb5999cdca0a70df3f96d596c83c3cf7c97c5fd.zip
Qt-1bb5999cdca0a70df3f96d596c83c3cf7c97c5fd.tar.gz
Qt-1bb5999cdca0a70df3f96d596c83c3cf7c97c5fd.tar.bz2
Merge commit 'c0b81480b2909b18ac15bdd124a562ae005c2f41' into origin-4.6
Diffstat (limited to 'src/gui/painting')
-rw-r--r--src/gui/painting/qpainter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qpainter.cpp b/src/gui/painting/qpainter.cpp
index 443c9c5..30f8c9e 100644
--- a/src/gui/painting/qpainter.cpp
+++ b/src/gui/painting/qpainter.cpp
@@ -284,7 +284,7 @@ bool QPainterPrivate::attachPainterPrivate(QPainter *q, QPaintDevice *pdev)
// Update matrix.
if (q->d_ptr->state->WxF) {
- q->d_ptr->state->redirectionMatrix *= q->d_ptr->state->worldMatrix;
+ q->d_ptr->state->redirectionMatrix = q->d_ptr->state->matrix;
q->d_ptr->state->redirectionMatrix.translate(-offset.x(), -offset.y());
q->d_ptr->state->worldMatrix = QTransform();
q->d_ptr->state->WxF = false;