]> git.sesse.net Git - vlc/commitdiff
Qt: PLModel: fix string conversion for winxx
authorFrancois Cartegnie <fcvlcdev@free.fr>
Thu, 19 Jul 2012 12:40:32 +0000 (14:40 +0200)
committerFrancois Cartegnie <fcvlcdev@free.fr>
Thu, 19 Jul 2012 12:40:32 +0000 (14:40 +0200)
modules/gui/qt4/components/playlist/standardpanel.cpp

index a9b8f0d163a045a6c1eb3d394a0daad24d81bd82..ec98b45c31d98f57135e2a423a71487270bf5b25 100644 (file)
@@ -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;