[vlc-commits] qt: fix subtitle path not encoded properly in open panel
Pierre Lamot
git at videolan.org
Wed Mar 14 09:54:44 CET 2018
vlc | branch: master | Pierre Lamot <pierre at videolabs.io> | Fri Mar 9 13:16:09 2018 +0100| [143b6e321dee1e9db131ac46b82457c546998854] | committer: Hugo Beauzée-Luyssen
qt: fix subtitle path not encoded properly in open panel
:sub-file doesn't accept URL
Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=143b6e321dee1e9db131ac46b82457c546998854
---
modules/gui/qt/components/open_panels.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/gui/qt/components/open_panels.cpp b/modules/gui/qt/components/open_panels.cpp
index 322bde9a89..3764d9e6ae 100644
--- a/modules/gui/qt/components/open_panels.cpp
+++ b/modules/gui/qt/components/open_panels.cpp
@@ -287,7 +287,7 @@ void FileOpenPanel::updateMRL()
/* Options */
if( ui.subGroupBox->isChecked() && !subUrl.isEmpty() ) {
- mrl.append( " :sub-file=" + colon_escape( subUrl.toEncoded() ) );
+ mrl.append( " :sub-file=" + colon_escape( subUrl.toLocalFile() ) );
}
emit methodChanged( "file-caching" );
More information about the vlc-commits
mailing list