mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-12 09:33:37 +02:00
2021-07-16 Fred Gleason <fredg@paravelsystems.com>
* Modified the error dialogs in rdadmin(1) to make it possible to create a new RSS feed even with an inoperable upload URL. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -636,11 +636,13 @@ void EditFeed::okData()
|
||||
RDUpload *u=new RDUpload(rda->config(),this);
|
||||
if((!d->urlIsSupported(feed_purge_url_edit->text()))||
|
||||
(!u->urlIsSupported(feed_purge_url_edit->text()))) {
|
||||
QMessageBox::warning(this,"RDAdmin - "+tr("Error"),
|
||||
tr("Audio Upload URL has unsupported scheme!"));
|
||||
delete d;
|
||||
delete u;
|
||||
return;
|
||||
if(QMessageBox::warning(this,"RDAdmin - "+tr("Error"),
|
||||
tr("Audio Upload URL has unsupported scheme!"),
|
||||
QMessageBox::Yes,QMessageBox::No)!=QMessageBox::Yes) {
|
||||
delete d;
|
||||
delete u;
|
||||
return;
|
||||
}
|
||||
}
|
||||
delete d;
|
||||
delete u;
|
||||
|
Reference in New Issue
Block a user