]> git.sesse.net Git - vlc/commitdiff
Qt: avoid the record button to appear multiple times
authorJean-Baptiste Kempf <jb@videolan.org>
Mon, 20 Jan 2014 06:35:39 +0000 (07:35 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 20 Jan 2014 06:35:39 +0000 (07:35 +0100)
modules/gui/qt4/menus.cpp

index 974922436136bb56caa1b2a3f2f2744c3036d3e4..62781049309fbc3554e91a750b929b75fc6376d9 100644 (file)
@@ -846,6 +846,7 @@ void VLCMenuBar::PopupMenuPlaylistEntries( QMenu *menu,
     action->setIcon( QIcon( ":/toolbar/record" ) );
     if( !p_input )
         action->setEnabled( false );
+    action->setData( ACTION_NO_CLEANUP + ACTION_DELETE_ON_REBUILD );
     menu->addSeparator();
 }