mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-17 08:01:13 +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:
@@ -250,8 +250,7 @@ void MainObject::Load(QString logname)
|
||||
|
||||
edit_log=new RDLog(logname);
|
||||
if(edit_log->exists()) {
|
||||
edit_log_model=new RDLogModel(false,this);
|
||||
edit_log_model->setLogName(logname);
|
||||
edit_log_model=new RDLogModel(logname,false,this);
|
||||
edit_log_model->load();
|
||||
edit_description=edit_log->description();
|
||||
edit_service=edit_log->service();
|
||||
@@ -363,8 +362,7 @@ void MainObject::New(const QString &logname)
|
||||
}
|
||||
edit_log=new RDLog(logname);
|
||||
if(!edit_log->exists()) {
|
||||
edit_log_model=new RDLogModel(false,this);
|
||||
edit_log_model->setLogName(logname);
|
||||
edit_log_model=new RDLogModel(logname,false,this);
|
||||
edit_description=logname+" log";
|
||||
sql=QString("select `NAME` from `SERVICES`");
|
||||
q=new RDSqlQuery(sql);
|
||||
|
Reference in New Issue
Block a user