2023-01-24 Fred Gleason <fredg@paravelsystems.com>

* Added more detail to data transfer errors generated by the
	podcasting subsystem.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2023-01-24 15:41:25 -05:00
parent f70e871508
commit 100e5dc025
6 changed files with 34 additions and 16 deletions

View File

@@ -314,6 +314,7 @@ void ListCasts::deleteData()
{
QString sql;
QString err_text;
QString err_msg;
QModelIndexList rows=list_casts_view->selectionModel()->selectedRows();
if(rows.size()!=1) {
@@ -361,9 +362,10 @@ void ListCasts::deleteData()
QString::asprintf("`ID`=%u",list_feed_id);
RDSqlQuery::apply(sql);
if(!list_feed->postXml()) {
if(!list_feed->postXml(&err_msg)) {
QMessageBox::warning(this,"RDCastManager - "+tr("Remote Error"),
tr("Unable to update remote XML data!"));
tr("Unable to update remote XML data!")+"\n"+
"["+err_msg+"]");
}
pd->reset();