mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-11 17:13:47 +02:00
2017-10-14 Fred Gleason <fredg@paravelsystems.com>
* Implemented a '%r' wildcard for Rivendell Host Name.
This commit is contained in:
@@ -509,7 +509,7 @@ void MainObject::Setpurgedate(const QDate &date)
|
||||
|
||||
void MainObject::Setservice(const QString &str)
|
||||
{
|
||||
RDSvc *svc=new RDSvc(str);
|
||||
RDSvc *svc=new RDSvc(str,edit_config);
|
||||
if(svc->exists()) {
|
||||
edit_service=str;
|
||||
edit_modified=true;
|
||||
|
@@ -209,7 +209,7 @@ void MainWidget::serviceActivatedData(int index)
|
||||
if(dg_svc!=NULL) {
|
||||
delete dg_svc;
|
||||
}
|
||||
dg_svc=new RDSvc(dg_service_box->currentText());
|
||||
dg_svc=new RDSvc(dg_service_box->currentText(),dg_config);
|
||||
if(dg_group!=NULL) {
|
||||
delete dg_group;
|
||||
}
|
||||
@@ -391,7 +391,7 @@ bool MainWidget::WriteTrafficFile()
|
||||
// Open Output File
|
||||
//
|
||||
outname=RDDateDecode(dg_svc->importPath(RDSvc::Traffic,RDSvc::Linux),
|
||||
dg_date_edit->date());
|
||||
dg_date_edit->date(),dg_config,dg_svc->name());
|
||||
if((f=fopen(outname,"w"))==NULL) {
|
||||
LogMessage(tr("WARNING: Unable to open traffic output file")+" \""+
|
||||
outname+"\" ["+strerror(errno)+"].");
|
||||
|
Reference in New Issue
Block a user