From fedb72a38c024e5e874ad467f9ca7c8979ed3620 Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Thu, 12 Mar 2020 16:52:19 -0400 Subject: [PATCH] Set m_nDecodes=0 only after the 50-buffer decode pass. --- widgets/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widgets/mainwindow.cpp b/widgets/mainwindow.cpp index 15a0e79e3..ca5620444 100644 --- a/widgets/mainwindow.cpp +++ b/widgets/mainwindow.cpp @@ -3200,7 +3200,7 @@ void MainWindow::readFromStdout() //readFromStdout int navg=0; if(line_read.indexOf("") >= 0) { // qDebug() << "bb" << QDateTime::currentDateTimeUtc().toString("hh:mm:ss.zzz") << line_read; - m_nDecodes=0; + if (dec_data.params.nzhsym==50) m_nDecodes=0; if(m_mode=="QRA64") m_wideGraph->drawRed(0,0); m_bDecoded = line_read.mid(20).trimmed().toInt() > 0; auto tnow = QDateTime::currentDateTimeUtc ();