Commit cf190075 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Qt4: don't keep reference to toAscii() temporary array

(See also previous commit)
parent 41c3dd9b
......@@ -1041,13 +1041,12 @@ void Equalizer::setCoreBands()
band_texts[i]->setText( band_frequencies[i] + "\n" + val + "dB" );
values += " " + val;
}
const char *psz_values = values.toAscii().constData();
aout_instance_t *p_aout = THEMIM->getAout();
if( p_aout )
{
//delCallbacks( p_aout );
var_SetString( p_aout, "equalizer-bands", psz_values );
var_SetString( p_aout, "equalizer-bands", qtu( values ) );
//addCallbacks( p_aout );
vlc_object_release( p_aout );
}
......
Markdown is supported
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