Fix minor cosmetic issue with tooltip on Tx pwr slider.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8602 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2018-04-03 13:33:08 +00:00
parent d0db3f74d6
commit 396aab7274

View File

@ -6291,9 +6291,9 @@ void MainWindow::on_outAttenuation_valueChanged (int a)
QString tt_str; QString tt_str;
qreal dBAttn {a / 10.}; // slider interpreted as dB / 100 qreal dBAttn {a / 10.}; // slider interpreted as dB / 100
if (m_tune && m_config.pwrBandTuneMemory()) { if (m_tune && m_config.pwrBandTuneMemory()) {
tt_str = tr ("Tune digital gain"); tt_str = tr ("Tune digital gain ");
} else { } else {
tt_str = tr ("Transmit digital gain"); tt_str = tr ("Transmit digital gain ");
} }
tt_str += (a ? QString::number (-dBAttn, 'f', 1) : "0") + "dB"; tt_str += (a ? QString::number (-dBAttn, 'f', 1) : "0") + "dB";
if (!m_block_pwr_tooltip) { if (!m_block_pwr_tooltip) {