From d1d92334bd9e5750f2c6a797297676d0ff0be460 Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Mon, 12 Dec 2022 19:45:41 -0500 Subject: [PATCH] Clean up what the Erase button does. --- q65w/mainwindow.cpp | 7 ++----- q65w/mainwindow.h | 1 - 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/q65w/mainwindow.cpp b/q65w/mainwindow.cpp index 2856dae6f..d85911c6d 100644 --- a/q65w/mainwindow.cpp +++ b/q65w/mainwindow.cpp @@ -36,7 +36,7 @@ MainWindow::MainWindow(QWidget *parent) : m_gui_timer {new QTimer {this}} { ui->setupUi(this); - on_EraseButton_clicked(); +// ui->decodedTextBrowser->clear(); ui->labUTC->setStyleSheet( \ "QLabel { background-color : black; color : yellow; }"); ui->labTol1->setStyleSheet( \ @@ -903,11 +903,8 @@ void MainWindow::decode() //decode() void MainWindow::on_EraseButton_clicked() { - qint64 ms=QDateTime::currentMSecsSinceEpoch(); ui->decodedTextBrowser->clear(); - if((ms-m_msErase)<500) { - } - m_msErase=ms; + lab5->clear(); } diff --git a/q65w/mainwindow.h b/q65w/mainwindow.h index eb924ed07..4bd676a70 100644 --- a/q65w/mainwindow.h +++ b/q65w/mainwindow.h @@ -96,7 +96,6 @@ private: QScopedPointer m_astro_window; QScopedPointer m_wide_graph_window; QPointer m_gui_timer; - qint64 m_msErase; qint32 m_idInt; qint32 m_waterfallAvg; qint32 m_DF;