]> git.sesse.net Git - vlc/commitdiff
Qt4: do not translate object variable names in V4L2 panel
authorRémi Denis-Courmont <remi@remlab.net>
Sat, 1 Oct 2011 19:32:09 +0000 (22:32 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Sat, 1 Oct 2011 19:32:09 +0000 (22:32 +0300)
modules/gui/qt4/components/extended_panels.cpp

index 9cc699cf3155b7d27540e99fd097a4c7974f8179..e4f694226ea2a34c3c96c68dd85b860d335ce00d 100644 (file)
@@ -737,7 +737,7 @@ void ExtV4l2::Refresh( void )
                     if( i_type & VLC_VAR_HASCHOICE )
                     {
                         QComboBox *combobox = new QComboBox( box );
-                        combobox->setObjectName( qtr( psz_var ) );
+                        combobox->setObjectName( qfu( psz_var ) );
 
                         vlc_value_t val2, text2;
                         var_Change( p_obj, psz_var, VLC_VAR_GETCHOICES,
@@ -759,7 +759,7 @@ void ExtV4l2::Refresh( void )
                     else
                     {
                         QSlider *slider = new QSlider( box );
-                        slider->setObjectName( qtr( psz_var ) );
+                        slider->setObjectName( qfu( psz_var ) );
                         slider->setOrientation( Qt::Horizontal );
                         vlc_value_t val2;
                         var_Change( p_obj, psz_var, VLC_VAR_GETMIN,
@@ -783,7 +783,7 @@ void ExtV4l2::Refresh( void )
                 case VLC_VAR_BOOL:
                 {
                     QCheckBox *button = new QCheckBox( name, box );
-                    button->setObjectName( qtr( psz_var ) );
+                    button->setObjectName( qfu( psz_var ) );
                     button->setChecked( var_GetBool( p_obj, psz_var ) );
 
                     CONNECT( button, clicked( bool ), this,
@@ -796,7 +796,7 @@ void ExtV4l2::Refresh( void )
                     if( i_type & VLC_VAR_ISCOMMAND )
                     {
                         QPushButton *button = new QPushButton( name, box );
-                        button->setObjectName( qtr( psz_var ) );
+                        button->setObjectName( qfu( psz_var ) );
 
                         CONNECT( button, clicked( bool ), this,
                                  ValueChange( bool ) );