vlc_linux/vlc-3.0.16/modules/gui/qt/menus.cpp
// Add an action that is a checkbox
Add an action that is a checkbox
Add an action that is a checkbox
static inline void addActionWithCheckbox( QMenu *_menu, QVariant val, QString title ) {
    QAction *_action = new QAction( title, _menu );
    _action->setData( val );
    _action->setCheckable( true );
    _menu->addAction( _action );
}
static inline void addActionWithCheckbox ( QMenu * _menu , QVariant val , QString title ) { QAction * _action = new QAction ( title , _menu ) ; _action -> setData ( val ) ; _action -> setCheckable ( true ) ; _menu -> addAction ( _action ) ; }
Add an action that is a checkbox
Add an action that is a checkbox