diff options
author | Fabien Freling <fabien.freling@nokia.com> | 2010-06-30 16:53:55 (GMT) |
---|---|---|
committer | Fabien Freling <fabien.freling@nokia.com> | 2010-06-30 16:55:45 (GMT) |
commit | 8accbacddae66a2e2e6d8e2ded51bdfe6800b481 (patch) | |
tree | 57c6607e1090baadb94f570a0e40831069154724 /src/gui/painting/qwindowsurface_raster.cpp | |
parent | ee15568a59f56cd000fd30fe598a90acaee1c670 (diff) | |
download | Qt-8accbacddae66a2e2e6d8e2ded51bdfe6800b481.zip Qt-8accbacddae66a2e2e6d8e2ded51bdfe6800b481.tar.gz Qt-8accbacddae66a2e2e6d8e2ded51bdfe6800b481.tar.bz2 |
Fix the blank areas during resize with the
raster engine on Mac OS X.
This is mainly done by reverting the commit
04e34fe3aecca482abeeabe2e31778e9102eeb08
Task-number: QTBUG-11518
Reviewed-by: Samuel
Diffstat (limited to 'src/gui/painting/qwindowsurface_raster.cpp')
-rw-r--r-- | src/gui/painting/qwindowsurface_raster.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/painting/qwindowsurface_raster.cpp b/src/gui/painting/qwindowsurface_raster.cpp index eee6bef..f3e1e4e 100644 --- a/src/gui/painting/qwindowsurface_raster.cpp +++ b/src/gui/painting/qwindowsurface_raster.cpp @@ -295,7 +295,10 @@ void QRasterWindowSurface::flush(QWidget *widget, const QRegion &rgn, const QPoi CGContextRestoreGState(context); #ifndef QT_MAC_USE_COCOA QDEndCGContext(port, &context); +#else + CGContextFlush(context); #endif + #endif // Q_WS_MAC #ifdef Q_OS_SYMBIAN |