Clean up the mainwindow test display.

This commit is contained in:
Joe Taylor 2022-12-05 12:12:32 -05:00
parent e4a7f3a22a
commit c3d8e96c8f
2 changed files with 3 additions and 3 deletions

View File

@ -1361,7 +1361,6 @@ void MainWindow::readFromStdout() //readFromStdout
while(proc_m65.canReadLine()) while(proc_m65.canReadLine())
{ {
QByteArray t=proc_m65.readLine(); QByteArray t=proc_m65.readLine();
qDebug() << "aa" << t.trimmed();
if(t.indexOf("<QuickDecodeDone>") >= 0) { if(t.indexOf("<QuickDecodeDone>") >= 0) {
m_nsum=t.mid(17,4).toInt(); m_nsum=t.mid(17,4).toInt();
m_nsave=t.mid(21,4).toInt(); m_nsave=t.mid(21,4).toInt();
@ -1394,7 +1393,8 @@ void MainWindow::readFromStdout() //readFromStdout
#ifdef WIN32 #ifdef WIN32
m=3; m=3;
#endif #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(); n=ui->decodedTextBrowser->verticalScrollBar()->maximum();
ui->decodedTextBrowser->verticalScrollBar()->setValue(n); ui->decodedTextBrowser->verticalScrollBar()->setValue(n);
m_widebandDecode=true; m_widebandDecode=true;

View File

@ -59,7 +59,7 @@
</size> </size>
</property> </property>
<property name="title"> <property name="title">
<string> Freq DF Pol UTC DT dB RC DS TxPol</string> <string> UTC Freq DT dB Message</string>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_9"> <layout class="QVBoxLayout" name="verticalLayout_9">
<item> <item>