From 9782b0f98dd9264f0fb17fc87a901aa2f6d2e23b Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Sat, 6 Feb 2021 12:12:06 -0500 Subject: [PATCH] Revert "Better way of updating m_lastQSOProgress, when signal report is first sent." This reverts commit d4f4057751d3e9259ed0c5713ad9ecc4271df57d. --- widgets/mainwindow.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/widgets/mainwindow.cpp b/widgets/mainwindow.cpp index bd1e609bb..6dc3f008e 100644 --- a/widgets/mainwindow.cpp +++ b/widgets/mainwindow.cpp @@ -4783,6 +4783,7 @@ void MainWindow::doubleClickOnCall(Qt::KeyboardModifiers modifiers) void MainWindow::processMessage (DecodedText const& message, Qt::KeyboardModifiers modifiers) { + m_lastQSOProgress=m_QSOProgress; // decode keyboard modifiers we are interested in auto shift = modifiers.testFlag (Qt::ShiftModifier); auto ctrl = modifiers.testFlag (Qt::ControlModifier); @@ -5191,10 +5192,7 @@ void MainWindow::processMessage (DecodedText const& message, Qt::KeyboardModifie qDebug() << "aa" << m_lastQSOProgress << m_QSOProgress << rpt << m_lastMessageSent.trimmed(); // Keep signal report fixed during a QSO. if((m_lastQSOProgress < REPORT or m_lastQSOProgress > ROGER_REPORT) and - (m_QSOProgress==REPORT or m_QSOProgress==ROGER_REPORT)) { - ui->rptSpinBox->setValue(n); - m_lastQSOProgress=m_QSOProgress; - } + (m_QSOProgress==REPORT or m_QSOProgress==ROGER_REPORT)) ui->rptSpinBox->setValue(n); // Don't genStdMsgs if we're already sending 73, or a "TU; " msg is queued. m_bTUmsg=false; //### Temporary: disable use of "TU;" messages