From afe0262ec96b9edc9fced2850b6448240189e34d Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Thu, 12 Mar 2020 15:11:20 -0400 Subject: [PATCH] Previous commit message should have mentioned number of decodes is now displayed on status bar. --- widgets/mainwindow.cpp | 8 ++++---- widgets/mainwindow.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/widgets/mainwindow.cpp b/widgets/mainwindow.cpp index 710ee1540..15a0e79e3 100644 --- a/widgets/mainwindow.cpp +++ b/widgets/mainwindow.cpp @@ -3199,8 +3199,8 @@ void MainWindow::readFromStdout() //readFromStdout bool bAvgMsg=false; int navg=0; if(line_read.indexOf("") >= 0) { -// qDebug() << "bb" << QDateTime::currentDateTimeUtc().toString("hh:mm:ss.zzz") << line_read; - m_ndecodes=0; +// qDebug() << "bb" << QDateTime::currentDateTimeUtc().toString("hh:mm:ss.zzz") << line_read; + 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 (); @@ -3220,8 +3220,8 @@ void MainWindow::readFromStdout() //readFromStdout } return; } else { - m_ndecodes+=1; - ndecodes_label.setText(QString::number(m_ndecodes)); + m_nDecodes+=1; + ndecodes_label.setText(QString::number(m_nDecodes)); if(m_mode=="JT4" or m_mode=="JT65" or m_mode=="QRA64") { int n=line_read.indexOf("f"); if(n<0) n=line_read.indexOf("d"); diff --git a/widgets/mainwindow.h b/widgets/mainwindow.h index 9de987906..675e25a4a 100644 --- a/widgets/mainwindow.h +++ b/widgets/mainwindow.h @@ -469,7 +469,7 @@ private: qint32 m_kin0=0; qint32 m_earlyDecode=41; qint32 m_earlyDecode2=47; - qint32 m_ndecodes=0; + qint32 m_nDecodes=0; bool m_btxok; //True if OK to transmit bool m_diskData;