[vlc-devel] commit: Qt4: fix URI character set in playlist ( Rémi Denis-Courmont )

git version control git at videolan.org
Wed Oct 7 22:12:05 CEST 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Oct  7 23:11:30 2009 +0300| [b26d4009f5bdd69f75c1cda23f60da1dd60482ba] | committer: Rémi Denis-Courmont 

Qt4: fix URI character set in playlist

(We seldom have non ASCII characters here, but better safe than sorry)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b26d4009f5bdd69f75c1cda23f60da1dd60482ba
---

 .../gui/qt4/components/playlist/playlist_model.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/components/playlist/playlist_model.cpp b/modules/gui/qt4/components/playlist/playlist_model.cpp
index fdb9f41..a61434c 100644
--- a/modules/gui/qt4/components/playlist/playlist_model.cpp
+++ b/modules/gui/qt4/components/playlist/playlist_model.cpp
@@ -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 );
                 }
             }




More information about the vlc-devel mailing list