Commit 461e426f authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Add "" around subtitles name. Fix #1528

parent c365acef
/***************************************************************************** Au/*****************************************************************************
* open.cpp : Panels for the open dialogs * open.cpp : Panels for the open dialogs
**************************************************************************** ****************************************************************************
* Copyright (C) 2006-2007 the VideoLAN team * Copyright (C) 2006-2007 the VideoLAN team
...@@ -161,7 +161,7 @@ void FileOpenPanel::updateMRL() ...@@ -161,7 +161,7 @@ void FileOpenPanel::updateMRL()
} }
if( ui.subCheckBox->isChecked() ) { if( ui.subCheckBox->isChecked() ) {
mrl.append( " :sub-file=" + ui.subInput->text() ); mrl.append( " :sub-file=\"" + ui.subInput->text() + "\"" );
int align = ui.alignSubComboBox->itemData( int align = ui.alignSubComboBox->itemData(
ui.alignSubComboBox->currentIndex() ).toInt(); ui.alignSubComboBox->currentIndex() ).toInt();
mrl.append( " :subsdec-align=" + QString().setNum( align ) ); mrl.append( " :subsdec-align=" + QString().setNum( align ) );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment