mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-08-12 06:01:15 +02:00
2017-10-19 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up build warnings under Linux.
This commit is contained in:
parent
e34a916b70
commit
0bedb70eca
@ -16183,3 +16183,5 @@
|
||||
2017-10-19 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Added the report path to the 'Unable to open report file' message
|
||||
in RDLogManager->ManageReports.
|
||||
2017-10-19 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Cleaned up build warnings under Linux.
|
||||
|
@ -385,6 +385,9 @@ void ListReports::GenerateEventReport(QString *report)
|
||||
*report+=QString().sprintf("%-20s ",
|
||||
(const char *)q->value(16).toString().left(20));
|
||||
break;
|
||||
|
||||
case RDRecording::LastType:
|
||||
break;
|
||||
}
|
||||
|
||||
//
|
||||
|
@ -654,7 +654,7 @@ void MainObject::engineData(int id)
|
||||
catch_record_card[catch_events[event].channel()-1]=-1;
|
||||
catch_record_stream[catch_events[event].channel()-1]=-1;
|
||||
sql=QString().sprintf("select CARD_NUMBER,PORT_NUMBER,\
|
||||
SWITCH_STATION,SWITCH_MATRIX,SWITCH_OUTPUT,\
|
||||
SWITCH_STATION,SWITCH_MATRIX,SWITCH_OUTPUT, \
|
||||
SWITCH_DELAY from DECKS \
|
||||
where (STATION_NAME=\"%s\")&&(CHANNEL=%d)",
|
||||
(const char *)catch_config->stationName(),
|
||||
@ -797,8 +797,8 @@ void MainObject::engineData(int id)
|
||||
// Load Import Parameters
|
||||
//
|
||||
sql=QString().sprintf("select DEFAULT_FORMAT,DEFAULT_CHANNELS,\
|
||||
DEFAULT_SAMPRATE,DEFAULT_LAYER,DEFAULT_BITRATE,\
|
||||
RIPPER_LEVEL\
|
||||
DEFAULT_SAMPRATE,DEFAULT_LAYER,DEFAULT_BITRATE, \
|
||||
RIPPER_LEVEL \
|
||||
from RDLIBRARY where STATION=\"%s\"",
|
||||
(const char *)catch_config->stationName());
|
||||
q=new RDSqlQuery(sql);
|
||||
@ -838,6 +838,9 @@ void MainObject::engineData(int id)
|
||||
}
|
||||
StartUploadEvent(event);
|
||||
break;
|
||||
|
||||
case RDRecording::LastType:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@ -2223,6 +2226,9 @@ bool MainObject::AddEvent(int id)
|
||||
sprintf("loading event %d, Type: upload, Cut: %s",
|
||||
id,(const char *)q->value(4).toString()));
|
||||
break;
|
||||
|
||||
case RDRecording::LastType:
|
||||
break;
|
||||
}
|
||||
delete q;
|
||||
return true;
|
||||
@ -2283,6 +2289,8 @@ void MainObject::RemoveEvent(int id)
|
||||
id,(const char *)catch_events[event].cutName()));
|
||||
break;
|
||||
|
||||
case RDRecording::LastType:
|
||||
break;
|
||||
}
|
||||
std::vector<CatchEvent>::iterator it=catch_events.begin()+event;
|
||||
catch_events.erase(it,it+1);
|
||||
@ -2359,6 +2367,9 @@ void MainObject::PurgeEvent(int event)
|
||||
catch_events[event].id(),
|
||||
(const char *)catch_events[event].cutName()));
|
||||
break;
|
||||
|
||||
case RDRecording::LastType:
|
||||
break;
|
||||
}
|
||||
catch_engine->removeEvent(catch_events[event].id());
|
||||
std::vector<CatchEvent>::iterator it=catch_events.begin()+event;
|
||||
@ -2651,6 +2662,9 @@ void MainObject::ResolveErrorWildcards(CatchEvent *event,
|
||||
rml->replace("%n",tr("n/a"));
|
||||
rml->replace("%u","n/a");
|
||||
break;
|
||||
|
||||
case RDRecording::LastType:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user