[vlc-commits] Qt: equalizer, more consistency in format

Akash Mehrotra git at videolan.org
Mon Jun 20 14:25:16 CEST 2011


vlc | branch: master | Akash Mehrotra <mehrotra.akash at gmail.com> | Mon Jun 20 01:21:08 2011 +0530| [0f400aa1cd6dfaeff62d17d788e538137390973b] | committer: Jean-Baptiste Kempf

Qt: equalizer, more consistency in format

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0f400aa1cd6dfaeff62d17d788e538137390973b
---

 modules/gui/qt4/components/extended_panels.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/components/extended_panels.cpp b/modules/gui/qt4/components/extended_panels.cpp
index 2899c26..d848d90 100644
--- a/modules/gui/qt4/components/extended_panels.cpp
+++ b/modules/gui/qt4/components/extended_panels.cpp
@@ -1058,7 +1058,7 @@ char * Equalizer::createValuesFromPreset( int i_preset )
 
     /* Create the QString in Qt */
     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 * */
     return strdup( values.toAscii().constData() );



More information about the vlc-commits mailing list