From 66b5fd0a2f12c58a628ac9a4cbce63ccd53666f4 Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Thu, 15 Jul 2021 14:23:57 -0400 Subject: [PATCH] Diasble copying of m_dateTime to datcom_.datetime, for now. --- map65/mainwindow.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/map65/mainwindow.cpp b/map65/mainwindow.cpp index 0daccecee..976be618f 100644 --- a/map65/mainwindow.cpp +++ b/map65/mainwindow.cpp @@ -1258,6 +1258,9 @@ void MainWindow::freezeDecode(int n) //freezeDecode() void MainWindow::decode() //decode() { ui->DecodeButton->setStyleSheet(m_pbdecoding_style1); + +// QFile f("mockRTfiles.txt"); +// if(datcom_.nagain==0 && (!m_diskData) && !f.exists()) { if(datcom_.nagain==0 && (!m_diskData)) { qint64 ms = QDateTime::currentMSecsSinceEpoch() % 86400000; int imin=ms/60000; @@ -1313,7 +1316,7 @@ void MainWindow::decode() //decode() memcpy(datcom_.mygrid, mgrid.toLatin1(), 6); memcpy(datcom_.hiscall, hcall.toLatin1(), 12); memcpy(datcom_.hisgrid, hgrid.toLatin1(), 6); - memcpy(datcom_.datetime, m_dateTime.toLatin1(), 20); +// memcpy(datcom_.datetime, m_dateTime.toLatin1(), 17); //This causes problems!!! Why??? //newdat=1 ==> this is new data, must do the big FFT //nagain=1 ==> decode only at fQSO +/- Tol