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 fdb9f41..a61434c 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 );
                 }
             }