mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-18 08:31:16 +02:00
2021-08-31 Fred Gleason <fredg@paravelsystems.com>
* Added a 'SERVICES.INCLUDE_MUS_IMPORT_MARKERS' field to the database. * Added a 'SERVICES.INCLUDE_TFC_IMPORT_MARKERS' field to the database. * Added a 'LOGS.INCLUDE_MUS_IMPORT_MARKERS' field to the database. * Added a 'LOGS.INCLUDE_TFC_IMPORT_MARKERS' field to the database. * Incremented the database version to 354. * Replaced the 'Include Import Marker in Finished Logs' checkbox with 'Include Music Import Markers in Finished Logs' and 'Include Traffic Import Markers in Finished Logs' checkboxes in the 'Edit Service' dialog in rdadmin(1). Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -922,6 +922,7 @@ bool RDEventLine::linkLog(RDLogModel *e,RDLog *log,const QString &svcname,
|
||||
QString sql;
|
||||
RDSqlQuery *q;
|
||||
RDLogLine *logline=NULL;
|
||||
RDLog::Source log_src;
|
||||
|
||||
//
|
||||
// Initial Import Parameters
|
||||
@@ -930,10 +931,12 @@ bool RDEventLine::linkLog(RDLogModel *e,RDLog *log,const QString &svcname,
|
||||
switch(event_import_source) {
|
||||
case RDEventLine::Music:
|
||||
event_src=RDLogLine::Music;
|
||||
log_src=RDLog::SourceMusic;
|
||||
break;
|
||||
|
||||
case RDEventLine::Traffic:
|
||||
event_src=RDLogLine::Traffic;
|
||||
log_src=RDLog::SourceTraffic;
|
||||
break;
|
||||
|
||||
case RDEventLine::Scheduler:
|
||||
@@ -948,7 +951,7 @@ bool RDEventLine::linkLog(RDLogModel *e,RDLog *log,const QString &svcname,
|
||||
//
|
||||
// Insert Parent Link
|
||||
//
|
||||
if(log->includeImportMarkers()) {
|
||||
if(log->includeImportMarkers(log_src)) {
|
||||
e->insert(e->lineCount(),1);
|
||||
logline=new RDLogLine();
|
||||
*logline=*link_logline;
|
||||
|
Reference in New Issue
Block a user