2022-12-13 Fred Gleason <fredg@paravelsystems.com>

* Fixed a regression in rdlogedit(1) that caused a newly inserted
	log event to be assigned the start time parameters of the previously
	edited event.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2022-12-13 16:14:59 -05:00
parent 36d4d0cd6d
commit af7c1d0885
5 changed files with 9 additions and 12 deletions

View File

@@ -573,8 +573,6 @@ void RDLibraryModel::setFilterSql(const QString &sql,int cart_limit)
void RDLibraryModel::processNotification(RDNotification *notify)
{
printf("RDLibraryModel::processNotification()\n");
QString sql;
RDSqlQuery *q=NULL;

View File

@@ -119,7 +119,7 @@ void RDLogLine::clear()
log_source=RDLogLine::Manual;
log_cart_number=0;
for(int i=0;i<5;i++) {
log_start_time[i]=QTime();
log_start_time[i]=QTime(0,0,0);
}
log_time_type=RDLogLine::Relative;
log_origin_user="";