diff options
author | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2009-07-15 10:37:43 (GMT) |
---|---|---|
committer | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2009-07-15 10:39:40 (GMT) |
commit | 147d6c45f6ecfb26ba5de55ea19cc8854c6bee64 (patch) | |
tree | 09b30a2852d46fdc5fcdd3592bb0b2fff4986f4d /src/gui/kernel/qwidget_mac.mm | |
parent | fc7a6a7f9f857c4745476213ee41d9a92ce82a9c (diff) | |
download | Qt-147d6c45f6ecfb26ba5de55ea19cc8854c6bee64.zip Qt-147d6c45f6ecfb26ba5de55ea19cc8854c6bee64.tar.gz Qt-147d6c45f6ecfb26ba5de55ea19cc8854c6bee64.tar.bz2 |
Compile after a72c30020bdadbe0d82e583e17acd25715604f7b
We don't translate the painter anymore (we instead set the brush
origin), so we don't have to (and shouldn't) translate the rects here.
Diffstat (limited to 'src/gui/kernel/qwidget_mac.mm')
-rw-r--r-- | src/gui/kernel/qwidget_mac.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qwidget_mac.mm b/src/gui/kernel/qwidget_mac.mm index 84c3def..1717fbd 100644 --- a/src/gui/kernel/qwidget_mac.mm +++ b/src/gui/kernel/qwidget_mac.mm @@ -1204,7 +1204,7 @@ OSStatus QWidgetPrivate::qt_widget_event(EventHandlerCallRef er, EventRef event, tint.setAlphaF(.6); const QVector<QRect> &rects = qrgn.rects(); for (int i = 0; i < rects.size(); ++i) - p.fillRect(rects.at(i).translated(scrollAreaOffset), tint); + p.fillRect(rects.at(i), tint); } p.end(); if (!redirectionOffset.isNull()) |