mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-18 08:31:16 +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:
@@ -22294,3 +22294,7 @@
|
|||||||
2021-08-16 Fred Gleason <fredg@paravelsystems.com>
|
2021-08-16 Fred Gleason <fredg@paravelsystems.com>
|
||||||
* Changed the MySQL client package dependency for Debian from
|
* Changed the MySQL client package dependency for Debian from
|
||||||
'mariadb-client' to 'default-mysql-client'.
|
'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()
|
void RDDropboxListModel::updateModel()
|
||||||
{
|
{
|
||||||
QList<QVariant> texts;
|
QList<QVariant> texts;
|
||||||
|
|
||||||
RDSqlQuery *q=NULL;
|
RDSqlQuery *q=NULL;
|
||||||
QString sql=sqlFields()+
|
QString sql=sqlFields()+
|
||||||
"where `DROPBOXES`.`STATION_NAME`='"+RDEscapeString(d_hostname)+"' "+
|
"where `DROPBOXES`.`STATION_NAME`='"+RDEscapeString(d_hostname)+"' "+
|
||||||
@@ -290,12 +289,12 @@ void RDDropboxListModel::updateRow(int row,RDSqlQuery *q)
|
|||||||
QList<QVariant> texts;
|
QList<QVariant> texts;
|
||||||
|
|
||||||
// ID
|
// ID
|
||||||
d_box_ids.back()=q->value(0).toInt();
|
d_box_ids[row]=q->value(0).toInt();
|
||||||
texts.push_back(q->value(0));
|
texts.push_back(q->value(0));
|
||||||
|
|
||||||
// Group
|
// Group
|
||||||
texts.push_back(q->value(1));
|
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
|
// Path
|
||||||
texts.push_back(q->value(3));
|
texts.push_back(q->value(3));
|
||||||
|
Reference in New Issue
Block a user