Commit 9df6d11e authored by dionoea's avatar dionoea
Browse files

Add some qfu and qtu calls for string values.

parent d8aaa1c5
......@@ -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 );
......
Supports Markdown
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