Minor code tweak.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7883 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2017-07-14 19:29:31 +00:00
parent d0ad300a65
commit 5b648ed68b

View File

@ -2026,7 +2026,7 @@ void MainWindow::closeEvent(QCloseEvent * e)
m_prefixes.reset ();
m_shortcuts.reset ();
m_mouseCmnds.reset ();
if(m_mode!="MSK144") killFile();
if(m_mode!="MSK144" and m_mode!="FT8") killFile();
mem_jt9->detach();
QFile quitFile {m_config.temp_dir ().absoluteFilePath (".quit")};
quitFile.open(QIODevice::ReadWrite);
@ -2659,8 +2659,9 @@ void MainWindow::readFromStdout() //readFromStdout
}
}
*/
m_bDecoded = t.mid (20).trimmed ().toInt () > 0;
if(!m_diskData) killFileTimer.start (3*1000*m_TRperiod/4); //Kill in 45 s
m_bDecoded = t.mid(20).trimmed().toInt() > 0;
int mswait=3*1000*m_TRperiod/4;
if(!m_diskData) killFileTimer.start(mswait); //Kill in 3/4 period
decodeDone ();
m_startAnother=m_loopall;
if(m_bNoMoreFiles) {