src/gui/painting/qwindowsurface_raster.cpp
changeset 7 f7bc934e204c
parent 3 41300fa6a67c
--- a/src/gui/painting/qwindowsurface_raster.cpp	Tue Feb 02 00:43:10 2010 +0200
+++ b/src/gui/painting/qwindowsurface_raster.cpp	Wed Mar 31 11:06:36 2010 +0300
@@ -1,6 +1,6 @@
 /****************************************************************************
 **
-** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
 ** All rights reserved.
 ** Contact: Nokia Corporation (qt-info@nokia.com)
 **
@@ -295,10 +295,8 @@
     CGContextRestoreGState(context);
 #ifndef QT_MAC_USE_COCOA
     QDEndCGContext(port, &context);
-#else
-    CGContextFlush(context);
 #endif
-#endif
+#endif // Q_WS_MAC
 
 #ifdef Q_OS_SYMBIAN
     Q_UNUSED(widget);