[vlc-commits] Qt: fix folder opening of DVD and BD on Windows
Jean-Baptiste Kempf
git at videolan.org
Sun Jan 19 19:01:10 CET 2014
vlc/vlc-2.1 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Jan 19 18:59:00 2014 +0100| [19d3ab2cccccabe0256f76cfae0542bcc461d710] | committer: Jean-Baptiste Kempf
Qt: fix folder opening of DVD and BD on Windows
Close #6328
(cherry picked from commit b502075972e0cfbea51dd21aaf72b09ba671c501)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.1.git/?a=commit;h=19d3ab2cccccabe0256f76cfae0542bcc461d710
---
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 bf6ecda..dbdcef0 100644
--- a/modules/gui/qt4/dialogs_provider.cpp
+++ b/modules/gui/qt4/dialogs_provider.cpp
@@ -514,9 +514,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