From: Jean-Baptiste Kempf Date: Wed, 18 Aug 2010 23:04:14 +0000 (+0200) Subject: Qt: Fix opening of folders under Win32 X-Git-Tag: 1.2.0-pre1~5388 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=5ae80509edfc8dc25113615fb7b975e944cdb690;p=vlc Qt: Fix opening of folders under Win32 --- diff --git a/modules/gui/qt4/dialogs_provider.cpp b/modules/gui/qt4/dialogs_provider.cpp index d3343bdf15..5198bdd4c6 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;