2018-02-06 Fred Gleason <fredg@paravelsystems.com>

* Refactored the RDAddLog class to use RDApplication.
This commit is contained in:
Fred Gleason
2018-02-05 23:31:54 -05:00
parent fc004e073e
commit bdb4283794
6 changed files with 19 additions and 23 deletions

View File

@@ -1117,8 +1117,8 @@ void EditLog::saveasData()
QString err_msg;
if(rda->user()->createLog()) {
log=new RDAddLog(&logname,&svcname,RDLogFilter::UserFilter,rda->user(),
rda->station(),tr("Add Log"),this);
log=new RDAddLog(&logname,&svcname,RDLogFilter::UserFilter,
tr("Add Log"),this);
if(log->exec()<0) {
return;
}

View File

@@ -363,8 +363,8 @@ void MainWidget::addData()
RDAddLog *log;
if(rda->user()->createLog()) {
log=new RDAddLog(&logname,&svcname,RDLogFilter::UserFilter,rda->user(),
rda->station(),tr("Add Log"),this);
log=new RDAddLog(&logname,&svcname,RDLogFilter::UserFilter,
tr("Add Log"),this);
if(log->exec()!=0) {
delete log;
return;