[vlc-devel] commit: Fix podcast configuration. ( Rémi Duraffort )
git version control
git at videolan.org
Thu Jul 30 17:22:48 CEST 2009
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Thu Jul 30 17:15:38 2009 +0200| [72741d68b2dd1164014966208b24129cd697e0d4] | committer: Rémi Duraffort
Fix podcast configuration.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=72741d68b2dd1164014966208b24129cd697e0d4
---
modules/gui/qt4/dialogs/podcast_configuration.cpp | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/modules/gui/qt4/dialogs/podcast_configuration.cpp b/modules/gui/qt4/dialogs/podcast_configuration.cpp
index efba7d7..bd10c00 100644
--- a/modules/gui/qt4/dialogs/podcast_configuration.cpp
+++ b/modules/gui/qt4/dialogs/podcast_configuration.cpp
@@ -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 );
}
More information about the vlc-devel
mailing list