From be6b691ed7268a8787b235384517d5470b83541f Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Fri, 16 Nov 2012 16:42:28 +0000 Subject: [PATCH] Correct an error in ba2msg(). git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@2743 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- mainwindow.cpp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index 4b664170b..acb640a2a 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -114,6 +114,8 @@ MainWindow::MainWindow(QWidget *parent) : m_dataAvailable=false; decodeBusy(false); + qDebug() << "AA"; + ui->xThermo->setFillBrush(Qt::green); PaError paerr=Pa_Initialize(); //Initialize Portaudio if(paerr!=paNoError) { @@ -1048,7 +1050,8 @@ void MainWindow::ba2msg(QByteArray ba, char message[]) //ba2msg() { bool eom; eom=false; - for(int i=0;i<28; i++) { + int iz=ba.length(); + for(int i=0;isetText(t); } -#endif } void MainWindow::on_tx1_editingFinished() //tx1 edited