src/gui/painting/qwindowsurface_raster.cpp
changeset 7 f7bc934e204c
parent 3 41300fa6a67c
equal deleted inserted replaced
3:41300fa6a67c 7:f7bc934e204c
     1 /****************************************************************************
     1 /****************************************************************************
     2 **
     2 **
     3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     4 ** All rights reserved.
     4 ** All rights reserved.
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     6 **
     6 **
     7 ** This file is part of the QtGui module of the Qt Toolkit.
     7 ** This file is part of the QtGui module of the Qt Toolkit.
     8 **
     8 **
   293 
   293 
   294     // Restore context.
   294     // Restore context.
   295     CGContextRestoreGState(context);
   295     CGContextRestoreGState(context);
   296 #ifndef QT_MAC_USE_COCOA
   296 #ifndef QT_MAC_USE_COCOA
   297     QDEndCGContext(port, &context);
   297     QDEndCGContext(port, &context);
   298 #else
   298 #endif
   299     CGContextFlush(context);
   299 #endif // Q_WS_MAC
   300 #endif
       
   301 #endif
       
   302 
   300 
   303 #ifdef Q_OS_SYMBIAN
   301 #ifdef Q_OS_SYMBIAN
   304     Q_UNUSED(widget);
   302     Q_UNUSED(widget);
   305     Q_UNUSED(rgn);
   303     Q_UNUSED(rgn);
   306     Q_UNUSED(offset);
   304     Q_UNUSED(offset);