Ignore:
Timestamp:
Aug 2, 2010, 9:27:30 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

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

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/gui/graphicsview/qgraphicsview_p.h

    r651 r769  
    184184            QCoreApplication::sendPostedEvents(viewport->window(), QEvent::UpdateRequest);
    185185#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());
    188192#endif
    189193    }
Note: See TracChangeset for help on using the changeset viewer.