From c4288b143dae26e8bf96ef5a9c355733616e3c19 Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Mon, 5 Dec 2022 19:59:15 -0500 Subject: [PATCH] Remove (most of) lab7. --- q65w/mainwindow.cpp | 13 ------------- q65w/mainwindow.h | 4 ++-- 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/q65w/mainwindow.cpp b/q65w/mainwindow.cpp index 72a2e1864..03ae0ce05 100644 --- a/q65w/mainwindow.cpp +++ b/q65w/mainwindow.cpp @@ -707,12 +707,6 @@ void MainWindow::createStatusBar() //createStatusBar lab6->setMinimumSize(QSize(50,10)); lab6->setFrameStyle(QFrame::Panel | QFrame::Sunken); statusBar()->addWidget(lab6); - - lab7 = new QLabel("Avg: 0"); - lab7->setAlignment(Qt::AlignHCenter); - lab7->setMinimumSize(QSize(50,10)); - lab7->setFrameStyle(QFrame::Panel | QFrame::Sunken); - statusBar()->addWidget(lab7); } void MainWindow::on_tolSpinBox_valueChanged(int i) //tolSpinBox @@ -1068,13 +1062,6 @@ void MainWindow::readFromStdout() //readFromStdout while(proc_m65.canReadLine()) { QByteArray t=proc_m65.readLine(); - if(t.indexOf("") >= 0) { - m_nsum=t.mid(17,4).toInt(); - m_nsave=t.mid(21,4).toInt(); - lab7->setText (QString {"Avg: %1"}.arg (m_nsum)); - if(m_modeQ65>0) m_wide_graph_window->setDecodeFinished(); - } - if((t.indexOf("") >= 0) or (t.indexOf("") >= 0)) { if(m_widebandDecode) { m_widebandDecode=false; diff --git a/q65w/mainwindow.h b/q65w/mainwindow.h index e68ebed73..3eea5d083 100644 --- a/q65w/mainwindow.h +++ b/q65w/mainwindow.h @@ -166,7 +166,7 @@ private: QLabel* lab4; QLabel* lab5; QLabel* lab6; - QLabel* lab7; + QLabel* lab7; //Why still needed? QMessageBox msgBox0; @@ -193,7 +193,7 @@ private: QString m_mode; QString m_colors; //Why still needed? QString m_editorCommand; //Why still needed? - QString m_modeTx; + QString m_modeTx; //Why still needed? QHash m_worked;