summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2009-06-11 08:13:24 (GMT)
committerBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2009-06-11 08:13:24 (GMT)
commit65373d007797b559a573b7b08f40c6801da11686 (patch)
treed98efdbcaeee7dc0b3bd32fc5c38281dc63235c0 /src
parent0989cbe2b164560eef14334a540fcbcb2e2ec8cb (diff)
downloadQt-65373d007797b559a573b7b08f40c6801da11686.zip
Qt-65373d007797b559a573b7b08f40c6801da11686.tar.gz
Qt-65373d007797b559a573b7b08f40c6801da11686.tar.bz2
Compile on the Mac.
Broke after this commit: 32f32ee3e752a6cc03505ddaa48d2849eaedc2a6
Diffstat (limited to 'src')
-rw-r--r--src/gui/painting/qpaintengine_mac.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/painting/qpaintengine_mac.cpp b/src/gui/painting/qpaintengine_mac.cpp
index 5889388..3d0a1b7 100644
--- a/src/gui/painting/qpaintengine_mac.cpp
+++ b/src/gui/painting/qpaintengine_mac.cpp
@@ -131,8 +131,8 @@ QMacCGContext::QMacCGContext(QPainter *p)
QPainterState *state = static_cast<QPainterState *>(pe->state);
Q_ASSERT(state);
- if (!state->redirection_offset.isNull())
- CGContextTranslateCTM(context, -state->redirection_offset.x(), -state->redirection_offset.y());
+ if (!state->redirectionMatrix.isIdentity())
+ CGContextTranslateCTM(context, state->redirectionMatrix.dx(), state->redirectionMatrix.dy());
}
}
CGContextRetain(context);