[vlc-commits] Qt: avoid the record button to appear multiple times

Jean-Baptiste Kempf git at videolan.org
Mon Jan 20 07:36:32 CET 2014


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Jan 20 07:35:39 2014 +0100| [c36f023fb990876e12c40245ecafa1f9db6c8ba4] | committer: Jean-Baptiste Kempf

Qt: avoid the record button to appear multiple times

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c36f023fb990876e12c40245ecafa1f9db6c8ba4
---

 modules/gui/qt4/menus.cpp |    1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/gui/qt4/menus.cpp b/modules/gui/qt4/menus.cpp
index 9749224..6278104 100644
--- a/modules/gui/qt4/menus.cpp
+++ b/modules/gui/qt4/menus.cpp
@@ -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();
 }
 



More information about the vlc-commits mailing list