Ignore:
Timestamp:
May 5, 2011, 5:36:53 AM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.7.2 sources from branches/vendor/nokia/qt.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/gui/painting/qwindowsurface_qws.cpp

    r769 r846  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation (qt-info@nokia.com)
     
    883883        const QColor blank = Qt::transparent;
    884884        for (QVector<QRect>::const_iterator it = rects.begin(); it != rects.end(); ++it) {
    885             p.fillRect(*it, blank);
     885            QRect r = *it;
     886#ifdef Q_BACKINGSTORE_SUBSURFACES
     887            r.translate(painterOffset());
     888#endif
     889            p.fillRect(r, blank);
    886890        }
    887891    }
Note: See TracChangeset for help on using the changeset viewer.