[vlc-commits] commit: Podcast: trim whitespaces from url (Fabio Ritrovato )
git at videolan.org
git at videolan.org
Thu Mar 11 16:43:13 CET 2010
vlc | branch: master | Fabio Ritrovato <sephiroth87 at videolan.org> | Thu Mar 11 16:42:35 2010 +0100| [b5014d72038a7cceca35f2cd2f897928dc8a7be9] | committer: Fabio Ritrovato
Podcast: trim whitespaces from url
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b5014d72038a7cceca35f2cd2f897928dc8a7be9
---
modules/gui/qt4/components/playlist/selector.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/gui/qt4/components/playlist/selector.cpp b/modules/gui/qt4/components/playlist/selector.cpp
index 42e886e..e5db968 100644
--- a/modules/gui/qt4/components/playlist/selector.cpp
+++ b/modules/gui/qt4/components/playlist/selector.cpp
@@ -460,7 +460,7 @@ void PLSelector::podcastAdd( PLSelItem* item )
if( !p_obj ) return;
QString request("ADD:");
- request += url;
+ request += url.trimmed();
var_SetString( p_obj, "podcast-request", qtu( request ) );
vlc_object_release( p_obj );
}
More information about the vlc-commits
mailing list