From b79456ed1b2000249f3f1ae7543e621d966d1a8a Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Sat, 21 Feb 2015 20:13:28 +0000 Subject: [PATCH] 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 --- mainwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index bef5b4fdb..1582f05c3 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -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; }