Browse Source

Qt: fix subtitle path separator in open panel on windows

"sub-file" path expects native separator and not slashes.

Closes #19976

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
pull/68/head
Pierre Lamot 9 years ago
committed by Jean-Baptiste Kempf
parent
commit
67ebc093d9
  1. 2
      modules/gui/qt/components/open_panels.cpp

2
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.toLocalFile() ) );
mrl.append( " :sub-file=" + colon_escape( toNativeSeparators( subUrl.toLocalFile() ) ) );
}
emit methodChanged( "file-caching" );

Loading…
Cancel
Save