mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-12 09:33:37 +02:00
2022-03-25 Fred Gleason <fredg@paravelsystems.com>
* Reverted the following changes: 2022-03-09 Fred Gleason <fredg@paravelsystems.com> * Fixed a regression in rdlogedit(1) that caused events from previously viewed logs to be prepended to subsequent logs viewed during the same session. 2022-03-09 Fred Gleason <fredg@paravelsystems.com> * Refactored the 'RDAddLog' dialog to allow for instance reuse. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -38,9 +38,6 @@ ListLogs::ListLogs(RDLogPlay *log,QWidget *parent)
|
||||
list_log=log;
|
||||
setWindowTitle("RDAirPlay - "+tr("Select Log"));
|
||||
|
||||
list_addlog_dialog=new RDAddLog(RDLogFilter::StationFilter,
|
||||
"RDAirPlay - "+tr("Rename Log"),this);
|
||||
|
||||
//
|
||||
// Filter Widget
|
||||
//
|
||||
@@ -184,7 +181,11 @@ void ListLogs::saveAsButtonData()
|
||||
{
|
||||
QString logname;
|
||||
QString svcname=*list_svcname;
|
||||
if(list_addlog_dialog->exec(&logname,&svcname)<0) {
|
||||
RDAddLog *log;
|
||||
log=new RDAddLog(&logname,&svcname,RDLogFilter::StationFilter,
|
||||
tr("Rename Log"),this);
|
||||
if(log->exec()<0) {
|
||||
delete log;
|
||||
return;
|
||||
}
|
||||
*list_logname=logname;
|
||||
|
@@ -23,7 +23,6 @@
|
||||
|
||||
#include <QPushButton>
|
||||
|
||||
#include <rdadd_log.h>
|
||||
#include <rddialog.h>
|
||||
#include <rdlogfilter.h>
|
||||
#include <rdloglistmodel.h>
|
||||
@@ -71,7 +70,6 @@ class ListLogs : public RDDialog
|
||||
QPushButton *list_cancel_button;
|
||||
RDLogPlay *list_log;
|
||||
RDLogLock **list_log_lock;
|
||||
RDAddLog *list_addlog_dialog;
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user