diff --git a/ChangeLog b/ChangeLog index bcde8e1c..adddc2e1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -22186,3 +22186,7 @@ 2021-08-04 Fred Gleason * Modified rdairplay(1) to use the standard date/time formatting strings. +2021-08-06 Fred Gleason + * Fixed a regression in rdadmin(1) that caused the 'Norm. Level' + and 'Autotrim Level' columns to display incorrect values in the + 'Dropbox Configuration' dialog. diff --git a/lib/rddropboxlistmodel.cpp b/lib/rddropboxlistmodel.cpp index 0b686cb9..df209699 100644 --- a/lib/rddropboxlistmodel.cpp +++ b/lib/rddropboxlistmodel.cpp @@ -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