vlc/vlc-3.0 | branch: master | Pierre Lamot <[email protected]> | Fri Mar 9 13:16:09 2018 +0100| [9ed4d71efb0d4e4e94a80f8f5b08c766326e9dcd] | 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 <[email protected]> (cherry picked from commit 143b6e321dee1e9db131ac46b82457c546998854) Signed-off-by: Hugo Beauzée-Luyssen <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=9ed4d71efb0d4e4e94a80f8f5b08c766326e9dcd --- 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 cb720dc5e4..397f72cc2d 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" ); _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
