From 9df6d11ec8e4e8392ae415ad97dcfce84650fe0d Mon Sep 17 00:00:00 2001 From: Antoine Cellerier Date: Sun, 1 Apr 2007 21:29:43 +0000 Subject: [PATCH] Add some qfu and qtu calls for string values. --- modules/gui/qt4/components/extended_panels.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/gui/qt4/components/extended_panels.cpp b/modules/gui/qt4/components/extended_panels.cpp index 71ca7d69ee..36dd3efd94 100644 --- a/modules/gui/qt4/components/extended_panels.cpp +++ b/modules/gui/qt4/components/extended_panels.cpp @@ -392,7 +392,7 @@ void ExtVideo::setWidgetValue( QObject *widget ) else if( i_type == VLC_VAR_STRING ) { const char *psz_string = NULL; - if( lineedit ) lineedit->setText( val.psz_string ); + if( lineedit ) lineedit->setText( qfu(val.psz_string) ); else msg_Warn( p_intf, "Oops %s %s %d", __FILE__, __func__, __LINE__ ); free( val.psz_string ); } @@ -470,8 +470,8 @@ void ExtVideo::updateFilterOptions() } else if( i_type == VLC_VAR_STRING ) { - const char *psz_string = NULL; - if( lineedit ) psz_string = lineedit->text().toStdString().c_str(); + char *psz_string = NULL; + if( lineedit ) psz_string = qtu(lineedit->text()); else msg_Warn( p_intf, "Oops %s %s %d", __FILE__, __func__, __LINE__ ); config_PutPsz( p_intf, option.toStdString().c_str(), psz_string ); var_SetString( p_obj, option.toStdString().c_str(), psz_string ); -- 2.39.2