Changeset 769 for trunk/src/gui/graphicsview/qgraphicsview_p.h
- Timestamp:
- Aug 2, 2010, 9:27:30 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.6.3 (added) merged: 768 /branches/vendor/nokia/qt/current merged: 767 /branches/vendor/nokia/qt/4.6.2 removed
- Property svn:mergeinfo changed
-
trunk/src/gui/graphicsview/qgraphicsview_p.h
r651 r769 184 184 QCoreApplication::sendPostedEvents(viewport->window(), QEvent::UpdateRequest); 185 185 #else 186 QCoreApplication::processEvents(QEventLoop::AllEvents | QEventLoop::ExcludeSocketNotifiers 187 | QEventLoop::ExcludeUserInputEvents); 186 // At this point either HIViewSetNeedsDisplay (Carbon) or setNeedsDisplay: YES (Cocoa) 187 // is called, which means there's a pending update request. We want to dispatch it 188 // now because otherwise graphics view updates would require two 189 // round-trips in the event loop before the item is painted. 190 extern void qt_mac_dispatchPendingUpdateRequests(QWidget *); 191 qt_mac_dispatchPendingUpdateRequests(viewport->window()); 188 192 #endif 189 193 }
Note:
See TracChangeset
for help on using the changeset viewer.