vlc_linux/vlc-3.0.16/modules/gui/qt/dialogs/help.cpp
/* callback to get information from the core */
callback to get information from the core
callback to get information from the core
static void UpdateCallback( void *data, bool b_ret )
{
    UpdateDialog* UDialog = (UpdateDialog *)data;
    QEvent* event;
    if( b_ret )
        event = new QEvent( UpdateDialog::UDOkEvent );
    else
        event = new QEvent( UpdateDialog::UDErrorEvent );
    QApplication::postEvent( UDialog, event );
}
static void UpdateCallback ( void * data , bool b_ret ) { UpdateDialog * UDialog = ( UpdateDialog * ) data ; QEvent * event ; if ( b_ret ) event = new QEvent ( UpdateDialog :: UDOkEvent ) ; else event = new QEvent ( UpdateDialog :: UDErrorEvent ) ; QApplication :: postEvent ( UDialog , event ) ; }
callback to get information from the core
callback to get information from the core