[vlc-commits] commit: Qt: Fix opening of folders under Win32 (Jean-Baptiste Kempf )

git at videolan.org git at videolan.org
Thu Aug 19 01:05:00 CEST 2010


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Aug 19 01:04:14 2010 +0200| [5ae80509edfc8dc25113615fb7b975e944cdb690] | committer: Jean-Baptiste Kempf 

Qt: Fix opening of folders under Win32

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

 modules/gui/qt4/dialogs_provider.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/dialogs_provider.cpp b/modules/gui/qt4/dialogs_provider.cpp
index d3343bd..5198bdd 100644
--- a/modules/gui/qt4/dialogs_provider.cpp
+++ b/modules/gui/qt4/dialogs_provider.cpp
@@ -504,7 +504,7 @@ static void openDirectory( intf_thread_t *p_intf, bool pl, bool go )
     if( dir.endsWith( "/VIDEO_TS", Qt::CaseInsensitive ) )
         scheme = "dvd";
 
-    char *uri = make_URI( qtu( dir ), scheme );
+    char *uri = make_URI( qtu( toNativeSeparators( dir ) ), scheme );
     if( unlikely(uri == NULL) )
         return;
 



More information about the vlc-commits mailing list