From 17af2805ddc29c0edfbecee5a4d05838a9a0239b Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Kempf Date: Thu, 25 Sep 2008 19:28:44 -0700 Subject: [PATCH] Qt4: simplification and correctness. --- modules/gui/qt4/dialogs_provider.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/gui/qt4/dialogs_provider.cpp b/modules/gui/qt4/dialogs_provider.cpp index 3f86132759..761f3bc605 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 ), -- 2.11.4.GIT