Prevent possible endless recursion in PanelView event handling
PanelView::event() generates new events and sends them to itself via QCoreApplication::sendEvent(), which calls the event() handler directly. To prevent possible stack overflow, we use QCoreApplication::postEvent() to dispatch the events from event loop. REVIEW: 124375
parent
36886a4e
Please register or sign in to comment