[vlc-devel] commit: Qt4: simplification and correctness. (Jean-Baptiste Kempf )
git version control
git at videolan.org
Fri Sep 26 04:26:27 CEST 2008
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Sep 25 19:28:44 2008 -0700| [17af2805ddc29c0edfbecee5a4d05838a9a0239b] | committer: Jean-Baptiste Kempf
Qt4: simplification and correctness.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=17af2805ddc29c0edfbecee5a4d05838a9a0239b
---
modules/gui/qt4/dialogs_provider.cpp | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/modules/gui/qt4/dialogs_provider.cpp b/modules/gui/qt4/dialogs_provider.cpp
index 3f86132..761f3bc 100644
--- a/modules/gui/qt4/dialogs_provider.cpp
+++ b/modules/gui/qt4/dialogs_provider.cpp
@@ -386,8 +386,7 @@ void DialogsProvider::addFromSimple( bool pl, bool go)
int i = 0;
foreach( QString file, files )
{
- const char * psz_utf8 = qtu( toNativeSeparators( file ) );
- playlist_Add( THEPL, psz_utf8, NULL,
+ playlist_Add( THEPL, qtu( toNativeSeparators( file ) ), NULL,
go ? ( PLAYLIST_APPEND | ( i ? 0 : PLAYLIST_GO ) |
( i ? PLAYLIST_PREPARSE : 0 ) )
: ( PLAYLIST_APPEND | PLAYLIST_PREPARSE ),
More information about the vlc-devel
mailing list