Commit 72741d68 authored by Rémi Duraffort's avatar Rémi Duraffort

Fix podcast configuration.

parent 177f2856
......@@ -72,15 +72,14 @@ void PodcastConfigDialog::accept()
urls += ui.podcastList->item(i)->text();
if( i != ui.podcastList->count()-1 ) urls += "|";
}
const char *psz_urls = qtu( urls );
config_PutPsz( p_intf, "podcast-urls", psz_urls );
config_PutPsz( p_intf, "podcast-urls", qtu( urls ) );
config_SaveConfigFile( p_intf, "podcast" );
vlc_object_t *p_obj = (vlc_object_t*)
vlc_object_find_name( p_intf->p_libvlc,
"podcast", FIND_CHILD );
if( p_obj )
{
var_SetString( p_obj, "podcast-urls", psz_urls );
var_SetString( p_obj, "podcast-urls", qtu( urls ) );
vlc_object_release( p_obj );
}
......
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