vlc_linux/vlc-3.0.16/modules/gui/qt/dialogs/preferences.cpp
/* Switching from on simple panel to another */
Switching from on simple panel to another
Switching from on simple panel to another
void PrefsDialog::changeSimplePanel( int number )
{
    if( ! simple_panels[number] )
    {
        SPrefsPanel *insert = new SPrefsPanel( p_intf, simple_panels_stack, number ) ;
        simple_panels_stack->insertWidget( number, insert );
        simple_panels[number] = insert;
    }
    simple_panels_stack->setCurrentWidget( simple_panels[number] );
}
void PrefsDialog :: changeSimplePanel ( int number ) { if ( ! simple_panels [ number ] ) { SPrefsPanel * insert = new SPrefsPanel ( p_intf , simple_panels_stack , number ) ; simple_panels_stack -> insertWidget ( number , insert ) ; simple_panels [ number ] = insert ; } simple_panels_stack -> setCurrentWidget ( simple_panels [ number ] ) ; }
Switching from on simple panel to another
Switching from on simple panel to another