Commit b3713070 authored by yoann's avatar yoann
Browse files

* open dialog: set subtitle size and align options

parent ab13e4a2
......@@ -166,8 +166,10 @@ void FileOpenPanel::updateMRL()
if( ui.subCheckBox->isChecked() ) {
mrl.append( " :sub-file=" + ui.subInput->currentText() );
mrl.append( " :subsdec-align=" + ui.alignSubComboBox->currentText() );
mrl.append( " :sub-rel-fontsize=" + ui.sizeSubComboBox->currentText() );
int align = ui.alignSubComboBox->itemData( ui.alignSubComboBox->currentIndex() ).toInt();
mrl.append( " :subsdec-align=" + QString().setNum( align ) );
int size = ui.sizeSubComboBox->itemData( ui.sizeSubComboBox->currentIndex() ).toInt();
mrl.append( " :sub-rel-fontsize=" + QString().setNum( size ) );
}
emit mrlUpdated( mrl );
emit methodChanged( "file-caching" );
......
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