Commit c2df9da6 authored by Jakob Leben's avatar Jakob Leben

Qt4: remove the SD menu (all but Podcast configuration action)

parent c590b5e0
...@@ -666,15 +666,6 @@ QMenu *QVLCMenu::SDMenu( intf_thread_t *p_intf, QWidget *parent ) ...@@ -666,15 +666,6 @@ QMenu *QVLCMenu::SDMenu( intf_thread_t *p_intf, QWidget *parent )
char **ppsz_name = ppsz_names, **ppsz_longname = ppsz_longnames; char **ppsz_name = ppsz_names, **ppsz_longname = ppsz_longnames;
for( ; *ppsz_name; ppsz_name++, ppsz_longname++ ) 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" ) ) if( !strcmp( *ppsz_name, "podcast" ) )
{ {
QAction *b = new QAction( qtr( "Configure podcasts..." ), menu ); QAction *b = new QAction( qtr( "Configure podcasts..." ), menu );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment