Changeset 651 for trunk/src/gui/painting/qwindowsurface_s60.cpp
- Timestamp:
- Mar 8, 2010, 12:52:58 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.6.2 (added) merged: 650 /branches/vendor/nokia/qt/current merged: 649 /branches/vendor/nokia/qt/4.6.1 removed
- Property svn:mergeinfo changed
-
trunk/src/gui/painting/qwindowsurface_s60.cpp
r561 r651 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 20 09Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation (qt-info@nokia.com) … … 146 146 void QS60WindowSurface::flush(QWidget *widget, const QRegion ®ion, const QPoint &) 147 147 { 148 const QVector<QRect> subRects = region.rects(); 149 for (int i = 0; i < subRects.count(); ++i) { 150 TRect tr = qt_QRect2TRect(subRects[i]); 148 QWidget *window = widget->window(); 149 Q_ASSERT(window); 150 QTLWExtra *topExtra = window->d_func()->maybeTopData(); 151 Q_ASSERT(topExtra); 152 if (!topExtra->inExpose) { 153 topExtra->inExpose = true; // Prevent DrawNow() from calling syncBackingStore() again 154 TRect tr = qt_QRect2TRect(region.boundingRect()); 151 155 widget->winId()->DrawNow(tr); 156 topExtra->inExpose = false; 152 157 } 153 158 }
Note:
See TracChangeset
for help on using the changeset viewer.