Commit 2d0b4b20 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: missing encoding conversion for AspectRatio box

parent 4a4848c9
...@@ -281,7 +281,7 @@ void AspectRatioComboBox::updateRatios() { ...@@ -281,7 +281,7 @@ void AspectRatioComboBox::updateRatios() {
} }
var_Change( p_vout, "aspect-ratio", VLC_VAR_GETLIST, &val_list, &text_list ); var_Change( p_vout, "aspect-ratio", VLC_VAR_GETLIST, &val_list, &text_list );
for( int i = 0; i < val_list.p_list->i_count; i++ ) for( int i = 0; i < val_list.p_list->i_count; i++ )
addItem( QString( text_list.p_list->p_values[i].psz_string ), QString( val_list.p_list->p_values[i].psz_string ) ); addItem( qfu( text_list.p_list->p_values[i].psz_string ), QString( val_list.p_list->p_values[i].psz_string ) );
setEnabled( true ); setEnabled( true );
var_FreeList( &val_list, &text_list ); var_FreeList( &val_list, &text_list );
} }
......
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