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:
Fred Gleason
2022-03-25 12:04:39 -04:00
parent 672bd74a7c
commit 2fbc9681b4
25 changed files with 132 additions and 128 deletions

View File

@@ -465,9 +465,7 @@ int RDLog::removeTracks(RDStation *station,RDUser *user,RDConfig *config) const
RDLogModel *RDLog::createLogEvent() const
{
RDLogModel *model=new RDLogModel(false);
model->setLogName(name());
return model;
return new RDLogModel(name(),false);
}
@@ -618,12 +616,6 @@ bool RDLog::remove(const QString &name,RDStation *station,RDUser *user,
}
bool RDLog::remove(const QString &name)
{
return RDLog::remove(name,rda->station(),rda->user(),rda->config());
}
int RDLog::GetIntValue(const QString &field) const
{
QString sql;