Mercurial > hg > svgui
diff layer/SpectrogramLayer.cpp @ 199:45e995ed84d9
* Flesh out feature descriptions for spectrum
author | Chris Cannam |
---|---|
date | Mon, 05 Feb 2007 16:11:49 +0000 |
parents | 6b023411087b |
children | 258af0c4dc28 |
line wrap: on
line diff
--- a/layer/SpectrogramLayer.cpp Thu Feb 01 16:54:42 2007 +0000 +++ b/layer/SpectrogramLayer.cpp Mon Feb 05 16:11:49 2007 +0000 @@ -2471,9 +2471,9 @@ dbMaxString = QString("%1").arg(lrintf(dbMax)); } if (lrintf(dbMin) != lrintf(dbMax)) { - text += tr("dB:\t%1 - %2").arg(lrintf(dbMin)).arg(lrintf(dbMax)); + text += tr("dB:\t%1 - %2").arg(dbMinString).arg(dbMaxString); } else { - text += tr("dB:\t%1").arg(lrintf(dbMin)); + text += tr("dB:\t%1").arg(dbMinString); } if (phaseMin != phaseMax) { text += tr("\nPhase:\t%1 - %2").arg(phaseMin).arg(phaseMax);