2021-05-11 Fred Gleason <fredg@paravelsystems.com>

* Fixed a bug in rdcastmanager(1) that could cause a segfault
	when closing the 'List Feed' dialog.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason 2021-05-11 12:52:34 -04:00
parent 8a8fc81420
commit 73312183d4
3 changed files with 6 additions and 1 deletions

View File

@ -21660,3 +21660,7 @@
2021-05-10 Fred Gleason <fredg@paravelsystems.com> 2021-05-10 Fred Gleason <fredg@paravelsystems.com>
* Updated the dependency for the MySQL Qt plug-in for RPM * Updated the dependency for the MySQL Qt plug-in for RPM
packages. packages.
2021-05-11 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdcastmanager(1) that could cause a segfault
when closing the 'List Feed' dialog.

View File

@ -519,7 +519,7 @@ void RDFeedListModel::updateRowLine(int line)
{ {
QString sql=sqlFields()+ QString sql=sqlFields()+
"where "+ "where "+
"FEEDS.KEY_NAME=\""+RDEscapeString(d_key_names.at(line).at(line))+"\""; "FEEDS.KEY_NAME=\""+RDEscapeString(d_key_names.at(line))+"\"";
RDSqlQuery *q=new RDSqlQuery(sql); RDSqlQuery *q=new RDSqlQuery(sql);
if(q->first()) { if(q->first()) {
updateRow(line,q); updateRow(line,q);

View File

@ -59,6 +59,7 @@ ListCasts::ListCasts(unsigned feed_id,QWidget *parent)
list_progress_dialog= list_progress_dialog=
new QProgressDialog(tr("Uploading Audio..."),tr("Cancel"),0,1,this); new QProgressDialog(tr("Uploading Audio..."),tr("Cancel"),0,1,this);
list_progress_dialog->setValue(1);
list_progress_dialog->setWindowTitle("RDCastManager - "+tr("Progress")); list_progress_dialog->setWindowTitle("RDCastManager - "+tr("Progress"));
list_progress_dialog->setCancelButton(NULL); list_progress_dialog->setCancelButton(NULL);
list_progress_dialog->setMinimumDuration(0); list_progress_dialog->setMinimumDuration(0);