[vlc-commits] Qt: fix folder opening of DVD and BD on Windows
Jean-Baptiste Kempf
git at videolan.org
Sun Jan 19 19:00:02 CET 2014
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Jan 19 18:59:00 2014 +0100| [b502075972e0cfbea51dd21aaf72b09ba671c501] | committer: Jean-Baptiste Kempf
Qt: fix folder opening of DVD and BD on Windows
Close #6328
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b502075972e0cfbea51dd21aaf72b09ba671c501
---
modules/gui/qt4/dialogs_provider.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/gui/qt4/dialogs_provider.cpp b/modules/gui/qt4/dialogs_provider.cpp
index cc68160..71d511a 100644
--- a/modules/gui/qt4/dialogs_provider.cpp
+++ b/modules/gui/qt4/dialogs_provider.cpp
@@ -504,9 +504,9 @@ static void openDirectory( intf_thread_t *p_intf, bool pl, bool go )
p_intf->p_sys->filepath = dir;
const char *scheme = "directory";
- if( dir.endsWith( "/VIDEO_TS", Qt::CaseInsensitive ) )
+ if( dir.endsWith( "VIDEO_TS", Qt::CaseInsensitive ) )
scheme = "dvd";
- else if( dir.endsWith( "/BDMV", Qt::CaseInsensitive ) )
+ else if( dir.endsWith( "BDMV", Qt::CaseInsensitive ) )
{
scheme = "bluray";
dir.remove( "BDMV" );
More information about the vlc-commits
mailing list