[vlc-commits] Qt: missing encoding conversion for AspectRatio box

Jean-Baptiste Kempf git at videolan.org
Wed Feb 22 00:04:08 CET 2012


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Feb 21 23:56:10 2012 +0100| [2d0b4b20ffc18581657f430293ee7e7d8cdc7270] | committer: Jean-Baptiste Kempf

Qt: missing encoding conversion for AspectRatio box

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2d0b4b20ffc18581657f430293ee7e7d8cdc7270
---

 modules/gui/qt4/components/controller_widget.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/components/controller_widget.cpp b/modules/gui/qt4/components/controller_widget.cpp
index 370ef3f..17a29ad 100644
--- a/modules/gui/qt4/components/controller_widget.cpp
+++ b/modules/gui/qt4/components/controller_widget.cpp
@@ -281,7 +281,7 @@ void AspectRatioComboBox::updateRatios() {
     }
     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++ )
-        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 );
     var_FreeList( &val_list, &text_list );
 }



More information about the vlc-commits mailing list