Commit f38e73af authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

modules/macosx/playlist.m: Remove code that shouldn't be here, to re-enable services discovery.

parent 4449fe0e
...@@ -400,8 +400,6 @@ ...@@ -400,8 +400,6 @@
char *objectname; char *objectname;
NSMenuItem *o_lmi; NSMenuItem *o_lmi;
if( !strcmp( ppsz_services[i], "services_discovery" ) )
{
char * name = ppsz_name[i] ? ppsz_name[i] : ppsz_services[i]; char * name = ppsz_name[i] ? ppsz_name[i] : ppsz_services[i];
/* Check whether to enable these menuitems */ /* Check whether to enable these menuitems */
b_enabled = playlist_IsServicesDiscoveryLoaded( p_playlist, objectname ); b_enabled = playlist_IsServicesDiscoveryLoaded( p_playlist, objectname );
...@@ -423,7 +421,7 @@ ...@@ -423,7 +421,7 @@
[o_lmi setTarget: self]; [o_lmi setTarget: self];
[o_lmi setRepresentedObject: [NSString stringWithCString: ppsz_services[i]]]; [o_lmi setRepresentedObject: [NSString stringWithCString: ppsz_services[i]]];
if( b_enabled ) [o_lmi setState: NSOnState]; if( b_enabled ) [o_lmi setState: NSOnState];
}
free( ppsz_services[i] ); free( ppsz_services[i] );
free( ppsz_name[i] ); free( ppsz_name[i] );
} }
......
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