QMenu *QVLCMenu::FileMenu( intf_thread_t *p_intf, QWidget *parent )
{
QMenu *menu = new QMenu( parent );
+ QAction *action;
addDPStaticEntry( menu, qtr( "&Open File..." ),
":/type/file-asym", SLOT( simpleOpenDialog() ), "Ctrl+O" );
menu->addSeparator();
#endif
+ action = addMIMStaticEntry( p_intf, menu, qtr( "Quit at the end of playlist" ), "",
+ SLOT( activatePlayQuit( bool ) ) );
+ action->setCheckable( true );
+ action->setChecked( THEMIM->getPlayExitState() );
+
addDPStaticEntry( menu, qtr( "&Quit" ) ,
":/menu/quit", SLOT( quit() ), "Ctrl+Q" );
return menu;
addMIMStaticEntry( p_intf, menu, qtr( "Ne&xt" ),
":/menu/next", SLOT( next() ) );
- action = addMIMStaticEntry( p_intf, menu, qtr( "Quit after Playback" ), "",
- SLOT( activatePlayQuit( bool ) ) );
- action->setCheckable( true );
- action->setChecked( THEMIM->getPlayExitState() );
-
menu->addSeparator();
}