From c3d8e96c8fb48d9b910cae000600a5ad0e750499 Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Mon, 5 Dec 2022 12:12:32 -0500 Subject: [PATCH] Clean up the mainwindow test display. --- q65w/mainwindow.cpp | 4 ++-- q65w/mainwindow.ui | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/q65w/mainwindow.cpp b/q65w/mainwindow.cpp index 0b23fbfe4..7a0120eb3 100644 --- a/q65w/mainwindow.cpp +++ b/q65w/mainwindow.cpp @@ -1361,7 +1361,6 @@ void MainWindow::readFromStdout() //readFromStdout while(proc_m65.canReadLine()) { QByteArray t=proc_m65.readLine(); - qDebug() << "aa" << t.trimmed(); if(t.indexOf("") >= 0) { m_nsum=t.mid(17,4).toInt(); m_nsave=t.mid(21,4).toInt(); @@ -1394,7 +1393,8 @@ void MainWindow::readFromStdout() //readFromStdout #ifdef WIN32 m=3; #endif - if(n>=30 or t.indexOf("Best-fit")>=0) ui->decodedTextBrowser->append(t.mid(1,n-m-4).trimmed()); + qDebug() << "aa" << n << m << t.trimmed(); + if(n>=30 or t.indexOf("Best-fit")>=0) ui->decodedTextBrowser->append(t.mid(1,n-m).trimmed()); n=ui->decodedTextBrowser->verticalScrollBar()->maximum(); ui->decodedTextBrowser->verticalScrollBar()->setValue(n); m_widebandDecode=true; diff --git a/q65w/mainwindow.ui b/q65w/mainwindow.ui index dfc97319e..8c416d8e2 100644 --- a/q65w/mainwindow.ui +++ b/q65w/mainwindow.ui @@ -59,7 +59,7 @@ - Freq DF Pol UTC DT dB RC DS TxPol + UTC Freq DT dB Message