Repair a regression causing missing Rx decode timestamps in ALL.TXT

This commit is contained in:
Bill Somerville 2020-11-18 02:06:30 +00:00
parent e3bffc3ece
commit 0fc5639fd5
No known key found for this signature in database
GPG Key ID: D864B06D1E81618F

View File

@ -3027,8 +3027,8 @@ void MainWindow::decode() //decode()
dec_data.params.nutc=dec_data.params.nutc/100; dec_data.params.nutc=dec_data.params.nutc/100;
} }
if(dec_data.params.nagain==0 && dec_data.params.newdat==1 && (!m_diskData)) { if(dec_data.params.nagain==0 && dec_data.params.newdat==1 && (!m_diskData)) {
auto t_start = qt_truncate_date_time_to (QDateTime::currentDateTimeUtc (), m_TRperiod * 1.e3); m_dateTimeSeqStart = qt_truncate_date_time_to (QDateTime::currentDateTimeUtc (), m_TRperiod * 1.e3);
auto t = t_start.time (); auto t = m_dateTimeSeqStart.time ();
dec_data.params.nutc = t.hour () * 100 + t.minute (); dec_data.params.nutc = t.hour () * 100 + t.minute ();
if (m_TRperiod < 60.) if (m_TRperiod < 60.)
{ {