[vlc-commits] Qt4: do not translate object variable names in V4L2 panel
Rémi Denis-Courmont
git at videolan.org
Sat Oct 1 21:33:50 CEST 2011
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Oct 1 22:32:09 2011 +0300| [d769331b4203953d0bcf0a202e8dd880662cef8c] | committer: Rémi Denis-Courmont
Qt4: do not translate object variable names in V4L2 panel
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d769331b4203953d0bcf0a202e8dd880662cef8c
---
modules/gui/qt4/components/extended_panels.cpp | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/modules/gui/qt4/components/extended_panels.cpp b/modules/gui/qt4/components/extended_panels.cpp
index 9cc699c..e4f6942 100644
--- a/modules/gui/qt4/components/extended_panels.cpp
+++ b/modules/gui/qt4/components/extended_panels.cpp
@@ -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 ) );
More information about the vlc-commits
mailing list