2021-08-06 Fred Gleason <fredg@paravelsystems.com>

* Fixed a regression in rdadmin(1) that caused the 'Norm. Level'
	and 'Autotrim Level' columns to display incorrect values in the
	'Dropbox Configuration' dialog.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2021-08-06 09:12:16 -04:00
parent 5bf11fdabe
commit a5c625d1a7
2 changed files with 6 additions and 2 deletions

View File

@@ -22186,3 +22186,7 @@
2021-08-04 Fred Gleason <fredg@paravelsystems.com>
* Modified rdairplay(1) to use the standard date/time formatting
strings.
2021-08-06 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rdadmin(1) that caused the 'Norm. Level'
and 'Autotrim Level' columns to display incorrect values in the
'Dropbox Configuration' dialog.

View File

@@ -305,7 +305,7 @@ void RDDropboxListModel::updateRow(int row,RDSqlQuery *q)
texts.push_back(tr("[off]"));
}
else {
texts.push_back(QString().sprintf("%d dBFS",q->value(4).toInt()));
texts.push_back(QString().sprintf("%d dBFS",q->value(4).toInt()/100));
}
// Autotrim Level
@@ -313,7 +313,7 @@ void RDDropboxListModel::updateRow(int row,RDSqlQuery *q)
texts.push_back(tr("[off]"));
}
else {
texts.push_back(QString().sprintf("%d dBFS",q->value(5).toInt()));
texts.push_back(QString().sprintf("%d dBFS",q->value(5).toInt()/100));
}
// To Cart