[vlc-commits] commit: Qt: fix open folder (Jean-Baptiste Kempf )

git at videolan.org git at videolan.org
Thu Aug 19 01:52:30 CEST 2010


vlc/vlc-1.1 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Aug 19 01:50:17 2010 +0200| [92342ad477c8e8db162a8e92cfef5874332a5fc3] | committer: Jean-Baptiste Kempf 

Qt: fix open folder

Close #3956 and #4072

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

 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 797b9ed..17fc0ef 100644
--- a/modules/gui/qt4/dialogs_provider.cpp
+++ b/modules/gui/qt4/dialogs_provider.cpp
@@ -500,7 +500,7 @@ static void openDirectory( intf_thread_t *p_intf, bool pl, bool go )
     if( dir.isEmpty() )
         return;
 
-    char *uri = make_URI( qtu( dir ) );
+    char *uri = make_URI( qtu( toNativeSeparators( dir ) ) );
     if( unlikely(uri == NULL) )
         return;
 



More information about the vlc-commits mailing list