[vlc-devel] commit: Qt4: simplification and correctness. (Jean-Baptiste Kempf )
git version control
git at videolan.org
Fri Sep 26 04:31:27 CEST 2008
vlc | branch: 0.9-bugfix | Jean-Baptiste Kempf <jb at videolan.org> | Thu Sep 25 19:28:44 2008 -0700| [326dd4dbd500b63fa23670320127f04edb485b12] | committer: Jean-Baptiste Kempf
Qt4: simplification and correctness.
(cherry picked from commit 17af2805ddc29c0edfbecee5a4d05838a9a0239b)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=326dd4dbd500b63fa23670320127f04edb485b12
---
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 a38a62e..e57b6eb 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