]> git.sesse.net Git - vlc/commitdiff
Qt: Fix opening of folders under Win32
authorJean-Baptiste Kempf <jb@videolan.org>
Wed, 18 Aug 2010 23:04:14 +0000 (01:04 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 18 Aug 2010 23:04:37 +0000 (01:04 +0200)
modules/gui/qt4/dialogs_provider.cpp

index d3343bdf1557b5d54b6c8ea0ee09249d099f9ce6..5198bdd4c6b9837a143d65f3c16885cd6c5348b3 100644 (file)
@@ -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;