summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qregion.h
diff options
context:
space:
mode:
authorMorten Sørvig <msorvig@trolltech.com>2009-07-30 12:19:50 (GMT)
committerMorten Sørvig <msorvig@trolltech.com>2009-07-30 12:19:50 (GMT)
commit26e9f4e077c49d1191835def595e4fb70ee50be2 (patch)
treeb2aae6fa449b5ec99c60e2483f84f176d26d4257 /src/gui/painting/qregion.h
parentd09fa4a816c6b9ccf306b7e1a887c4a4b1dc2f4e (diff)
downloadQt-26e9f4e077c49d1191835def595e4fb70ee50be2.zip
Qt-26e9f4e077c49d1191835def595e4fb70ee50be2.tar.gz
Qt-26e9f4e077c49d1191835def595e4fb70ee50be2.tar.bz2
Mac/Carbon: Fix issue causing update(QRegion) to fail on large widgets.
HIViewSetNeedsDisplayInRegion fails on large regions with large coordinates, fall back on updating the entire region in this case. The task mentions coordinates outside the range of signed short, but the provided example demonstrates failures in the 10-20K range as well.
Diffstat (limited to 'src/gui/painting/qregion.h')
-rw-r--r--src/gui/painting/qregion.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/painting/qregion.h b/src/gui/painting/qregion.h
index bfedcb1..6dfdc83 100644
--- a/src/gui/painting/qregion.h
+++ b/src/gui/painting/qregion.h
@@ -148,6 +148,7 @@ public:
#elif defined(Q_WS_MAC)
#if defined Q_WS_MAC32
RgnHandle toQDRgn() const;
+ RgnHandle toQDRgnForUpdate_sys() const;
static QRegion fromQDRgn(RgnHandle shape);
#endif
#ifdef QT_MAC_USE_COCOA