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

* Fixed a regression in rdadmin(1) the 'Rivendell Dropbox
	Configurations' dialog that caused corruption of dropbox
	settings.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason 2021-08-16 14:16:30 -04:00
parent 74c88513dc
commit 8387805b72
2 changed files with 6 additions and 3 deletions

View File

@ -22294,3 +22294,7 @@
2021-08-16 Fred Gleason <fredg@paravelsystems.com>
* Changed the MySQL client package dependency for Debian from
'mariadb-client' to 'default-mysql-client'.
2021-08-16 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rdadmin(1) the 'Rivendell Dropbox
Configurations' dialog that caused corruption of dropbox
settings.

View File

@ -249,7 +249,6 @@ void RDDropboxListModel::refresh(int box_id)
void RDDropboxListModel::updateModel()
{
QList<QVariant> texts;
RDSqlQuery *q=NULL;
QString sql=sqlFields()+
"where `DROPBOXES`.`STATION_NAME`='"+RDEscapeString(d_hostname)+"' "+
@ -290,12 +289,12 @@ void RDDropboxListModel::updateRow(int row,RDSqlQuery *q)
QList<QVariant> texts;
// ID
d_box_ids.back()=q->value(0).toInt();
d_box_ids[row]=q->value(0).toInt();
texts.push_back(q->value(0));
// Group
texts.push_back(q->value(1));
d_group_colors.back()=QColor(q->value(2).toString());
d_group_colors[row]=QColor(q->value(2).toString());
// Path
texts.push_back(q->value(3));