mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-19 17:11:15 +02:00
2024-08-26 Fred Gleason <fredg@paravelsystems.com>
* Modified the 'Select Log' dialog in the voice tracker in rdairplay(1) so as to retain previous service selection across invocations. * Modified the 'Podcast Item List' dialog in rdcastmanager(1) so as to retain previous service selection across invocations. * Modified the 'Edit Log Chain' dialog in rdlogedit(1) so as to retain previous user group selection across invocations. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
//
|
||||
// List Rivendell Casts
|
||||
//
|
||||
// (C) Copyright 2002-2023 Fred Gleason <fredg@paravelsystems.com>
|
||||
// (C) Copyright 2002-2024 Fred Gleason <fredg@paravelsystems.com>
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License version 2 as
|
||||
@@ -24,7 +24,6 @@
|
||||
|
||||
#include <rdconf.h>
|
||||
#include <rdescape_string.h>
|
||||
#include <rdlist_logs.h>
|
||||
#include <rdpodcast.h>
|
||||
|
||||
#include "edit_cast.h"
|
||||
@@ -54,6 +53,9 @@ ListCasts::ListCasts(unsigned feed_id,QWidget *parent)
|
||||
//
|
||||
list_render_dialog=new RenderDialog(this);
|
||||
|
||||
list_listlogs_dialog=
|
||||
new RDListLogs(RDLogFilter::UserFilter,"RDCastManager",this);
|
||||
|
||||
list_cut_dialog=new RDCutDialog(&cast_filter,&cast_group,&cast_schedcode,
|
||||
false,false,false,"RDCastManager",false,this);
|
||||
list_progress_dialog=
|
||||
@@ -242,9 +244,7 @@ void ListCasts::addLogData()
|
||||
QString err_msg;
|
||||
unsigned cast_id=0;
|
||||
|
||||
RDListLogs *lld=
|
||||
new RDListLogs(&logname,RDLogFilter::UserFilter,"RDCastManager",this);
|
||||
if(lld->exec()) {
|
||||
if(list_listlogs_dialog->exec(&logname)) {
|
||||
RDLogModel *model=new RDLogModel(logname,true,this);
|
||||
model->load();
|
||||
QTime start_time;
|
||||
@@ -272,17 +272,13 @@ void ListCasts::addLogData()
|
||||
else {
|
||||
QMessageBox::warning(this,"RDCastManager - "+tr("Posting Error"),
|
||||
err_msg);
|
||||
delete lld;
|
||||
delete model;
|
||||
return;
|
||||
}
|
||||
|
||||
delete model;
|
||||
}
|
||||
else { // Render dialog was canceled!
|
||||
}
|
||||
}
|
||||
delete lld;
|
||||
}
|
||||
|
||||
|
||||
|
@@ -2,7 +2,7 @@
|
||||
//
|
||||
// List Rivendell Casts
|
||||
//
|
||||
// (C) Copyright 2002-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
// (C) Copyright 2002-2024 Fred Gleason <fredg@paravelsystems.com>
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License version 2 as
|
||||
@@ -27,6 +27,7 @@
|
||||
#include <rdcut_dialog.h>
|
||||
#include <rddialog.h>
|
||||
#include <rdfeed.h>
|
||||
#include <rdlist_logs.h>
|
||||
#include <rdpodcastlistmodel.h>
|
||||
#include <rdpodcastfilter.h>
|
||||
#include <rdtableview.h>
|
||||
@@ -74,6 +75,7 @@ class ListCasts : public RDDialog
|
||||
RDPodcastFilter *list_casts_filter;
|
||||
QProgressDialog *list_progress_dialog;
|
||||
RenderDialog *list_render_dialog;
|
||||
RDListLogs *list_listlogs_dialog;
|
||||
RDFeed *list_feed;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user