mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-12-24 11:40:31 -05:00
Look in the right place for temporary files
decoded.txt was not being deleted after a full activity window erase. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4982 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
c718bfd2fd
commit
b79456ed1b
@ -1467,7 +1467,7 @@ void MainWindow::on_EraseButton_clicked() //Erase
|
||||
m_QSOText.clear();
|
||||
if((ms-m_msErase)<500) {
|
||||
ui->decodedTextBrowser->clear();
|
||||
QFile f("decoded.txt");
|
||||
QFile f(m_config.temp_dir ().absoluteFilePath ("decoded.txt"));
|
||||
if(f.exists()) f.remove();
|
||||
}
|
||||
m_msErase=ms;
|
||||
@ -1534,7 +1534,7 @@ void MainWindow::guiUpdate()
|
||||
|
||||
if(m_auto or m_tune) {
|
||||
|
||||
QFile f("/tmp/txboth");
|
||||
QFile f(m_config.temp_dir ().absoluteFilePath ("txboth"));
|
||||
if(f.exists() and fmod(tsec,m_TRperiod) < (1.0 + 85.0*m_nsps/12000.0)) {
|
||||
bTxTime=true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user