[vlc-devel] commit: Qt4: remove the SD menu (all but Podcast configuration action) ( Jakob Leben )
git version control
git at videolan.org
Fri Oct 30 04:59:25 CET 2009
vlc | branch: master | Jakob Leben <jleben at videolan.org> | Fri Oct 30 01:42:18 2009 +0100| [c2df9da6c5cb409489e9849c00cbdc14afce3c63] | committer: Jakob Leben
Qt4: remove the SD menu (all but Podcast configuration action)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c2df9da6c5cb409489e9849c00cbdc14afce3c63
---
modules/gui/qt4/menus.cpp | 9 ---------
1 files changed, 0 insertions(+), 9 deletions(-)
diff --git a/modules/gui/qt4/menus.cpp b/modules/gui/qt4/menus.cpp
index e1aaadc..d5ef9b7 100644
--- a/modules/gui/qt4/menus.cpp
+++ b/modules/gui/qt4/menus.cpp
@@ -666,15 +666,6 @@ QMenu *QVLCMenu::SDMenu( intf_thread_t *p_intf, QWidget *parent )
char **ppsz_name = ppsz_names, **ppsz_longname = ppsz_longnames;
for( ; *ppsz_name; ppsz_name++, ppsz_longname++ )
{
- QAction *a = new QAction( qfu( *ppsz_longname ), menu );
- a->setCheckable( true );
- if( playlist_IsServicesDiscoveryLoaded( THEPL, *ppsz_name ) )
- a->setChecked( true );
- CONNECT( a, triggered(), THEDP->SDMapper, map() );
- THEDP->SDMapper->setMapping( a, QString( *ppsz_name ) );
- menu->addAction( a );
-
- /* Special case for podcast */
if( !strcmp( *ppsz_name, "podcast" ) )
{
QAction *b = new QAction( qtr( "Configure podcasts..." ), menu );
More information about the vlc-devel
mailing list