summaryrefslogtreecommitdiffstats
path: root/src/gui/painting
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@nokia.com>2009-12-05 11:23:36 (GMT)
committerSimon Hausmann <simon.hausmann@nokia.com>2009-12-05 11:23:36 (GMT)
commit9093d6c498f1b70c7ec58fc52bb9d5f0a4302540 (patch)
tree5bb0e87be487d80c76a16c23ee94e7f97fcc95c6 /src/gui/painting
parentcbdf3dc7508131e31f1d221e7b6f44d4714d3caa (diff)
parent291a26abae4b7e1e4b77baf42964ccb77edf4adf (diff)
downloadQt-9093d6c498f1b70c7ec58fc52bb9d5f0a4302540.zip
Qt-9093d6c498f1b70c7ec58fc52bb9d5f0a4302540.tar.gz
Qt-9093d6c498f1b70c7ec58fc52bb9d5f0a4302540.tar.bz2
Merge branch '4.6' of scm.dev.nokia.troll.no:qt/qt
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;