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
This commit is contained in:
Bill Somerville 2016-06-10 22:59:41 +00:00
parent b9b25189b7
commit c7344e0441

View File

@ -2192,7 +2192,7 @@ void MainWindow::readFromStdout() //readFromStdout
} }
} }
if(t.indexOf("<DecodeFinished>") >= 0) { if(t.indexOf("<DecodeFinished>") >= 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 if(!m_diskData) killFileTimer.start (3*1000*m_TRperiod/4); //Kill in 45 s
decodeDone (); decodeDone ();
m_startAnother=m_loopall; m_startAnother=m_loopall;