]> git.sesse.net Git - vlc/commitdiff
Qt4: fix URI character set in playlist
authorRémi Denis-Courmont <remi@remlab.net>
Wed, 7 Oct 2009 20:11:30 +0000 (23:11 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Wed, 7 Oct 2009 20:11:30 +0000 (23:11 +0300)
(We seldom have non ASCII characters here, but better safe than sorry)

modules/gui/qt4/components/playlist/playlist_model.cpp

index fdb9f41c868f239af2d377591df90bc2467bc2d6..a61434cc82ec313432bae4efb532ca2bb309c855 100644 (file)
@@ -468,7 +468,7 @@ QStringList PLModel::selectedURIs()
                 char *psz = input_item_GetURI( p_item->p_input );
                 if( psz )
                 {
-                    lst.append( psz );
+                    lst.append( qfu(psz) );
                     free( psz );
                 }
             }