Set m_nDecodes=0 only after the 50-buffer decode pass.

This commit is contained in:
Joe Taylor 2020-03-12 16:52:19 -04:00
parent f7d7c073c8
commit fedb72a38c

View File

@ -3200,7 +3200,7 @@ void MainWindow::readFromStdout() //readFromStdout
int navg=0;
if(line_read.indexOf("<DecodeFinished>") >= 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 ();