Commit 5ae80509 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: Fix opening of folders under Win32

parent 65aaa4aa
...@@ -504,7 +504,7 @@ static void openDirectory( intf_thread_t *p_intf, bool pl, bool go ) ...@@ -504,7 +504,7 @@ static void openDirectory( intf_thread_t *p_intf, bool pl, bool go )
if( dir.endsWith( "/VIDEO_TS", Qt::CaseInsensitive ) ) if( dir.endsWith( "/VIDEO_TS", Qt::CaseInsensitive ) )
scheme = "dvd"; scheme = "dvd";
char *uri = make_URI( qtu( dir ), scheme ); char *uri = make_URI( qtu( toNativeSeparators( dir ) ), scheme );
if( unlikely(uri == NULL) ) if( unlikely(uri == NULL) )
return; return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment