[vlc-commits] Qt: PLModel: fix string conversion for winxx

Francois Cartegnie git at videolan.org
Thu Jul 19 14:41:08 CEST 2012


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Jul 19 14:40:32 2012 +0200| [0555a4ce8659d4b20bf5b19aa1168b3cdab41fe4] | committer: Francois Cartegnie

Qt: PLModel: fix string conversion for winxx

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

 modules/gui/qt4/components/playlist/standardpanel.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/qt4/components/playlist/standardpanel.cpp b/modules/gui/qt4/components/playlist/standardpanel.cpp
index a9b8f0d..ec98b45 100644
--- a/modules/gui/qt4/components/playlist/standardpanel.cpp
+++ b/modules/gui/qt4/components/playlist/standardpanel.cpp
@@ -309,7 +309,7 @@ void StandardPLPanel::popupExplore()
     char *path = NULL;
 
     if( ! uri.isEmpty() )
-        path = make_path( uri.toStdString().c_str() );
+        path = make_path( uri.toAscii().constData() );
 
     if( path == NULL )
         return;



More information about the vlc-commits mailing list