Display Rx level to nearest integer dB.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7606 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2017-03-15 15:33:25 +00:00
parent 912e6149d1
commit 4a29dd4880
1 changed files with 1 additions and 1 deletions

View File

@ -102,6 +102,6 @@ void SignalMeter::setValue(float value, float valueMax)
m_meter->setValue(int(value));
m_meter->set_sigPeak(valueMax);
QString t;
t.sprintf("%4.1f dB",value);
t.sprintf("%d dB",int(value+0.5));
m_reading->setText(t);
}