mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-06-03 01:22:42 +02:00
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:
parent
74c88513dc
commit
8387805b72
@ -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.
|
||||
|
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user