Commit 0f400aa1 authored by Akash Mehrotra's avatar Akash Mehrotra Committed by Jean-Baptiste Kempf

Qt: equalizer, more consistency in format

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 8e451b51
...@@ -1058,7 +1058,7 @@ char * Equalizer::createValuesFromPreset( int i_preset ) ...@@ -1058,7 +1058,7 @@ char * Equalizer::createValuesFromPreset( int i_preset )
/* Create the QString in Qt */ /* Create the QString in Qt */
for( int i = 0 ; i< BANDS ;i++ ) for( int i = 0 ; i< BANDS ;i++ )
values += QString( " %1" ).arg( eqz_preset_10b[i_preset]->f_amp[i] ); values += QString( " %1" ).arg( eqz_preset_10b[i_preset]->f_amp[i], 5, 'f', 1 );
/* Convert it to char * */ /* Convert it to char * */
return strdup( values.toAscii().constData() ); return strdup( values.toAscii().constData() );
......
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