From c7344e0441555bc91fe96cdd1ee5e8df121af267 Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Fri, 10 Jun 2016 22:59:41 +0000 Subject: [PATCH] Another, hopefully final, fix for saving decocded WAV files reliably git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6757 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index 445f7b627..a605dad01 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -2192,7 +2192,7 @@ void MainWindow::readFromStdout() //readFromStdout } } if(t.indexOf("") >= 0) { - m_bDecoded = (t.mid(23,1).toInt()==1); + m_bDecoded = t.mid (20).trimmed ().toInt () > 0; if(!m_diskData) killFileTimer.start (3*1000*m_TRperiod/4); //Kill in 45 s decodeDone (); m_startAnother=m_loopall;