mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-22 04:11:16 -05:00
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:
parent
912e6149d1
commit
4a29dd4880
@ -102,6 +102,6 @@ void SignalMeter::setValue(float value, float valueMax)
|
|||||||
m_meter->setValue(int(value));
|
m_meter->setValue(int(value));
|
||||||
m_meter->set_sigPeak(valueMax);
|
m_meter->set_sigPeak(valueMax);
|
||||||
QString t;
|
QString t;
|
||||||
t.sprintf("%4.1f dB",value);
|
t.sprintf("%d dB",int(value+0.5));
|
||||||
m_reading->setText(t);
|
m_reading->setText(t);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user