Add logic for erasing wsjtx_rx.log.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@2697 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor
2012-10-27 14:09:34 +00:00
parent 7ac08e3744
commit f7ba2480e4
3 changed files with 10 additions and 6 deletions
+3 -3
View File
@@ -859,7 +859,9 @@ void MainWindow::decode() //decode()
jt9com_.nfqso=g_pWideGraph->QSOfreq();
m_tol=g_pWideGraph->Tol();
jt9com_.ntol=m_tol;
*future3 = QtConcurrent::run(decoder_, &m_TRperiod, &c0[0]);
if(jt9com_.nutc < m_nutc0) m_RxLog |= 1; //Date and Time to wsjtx_rx.log
m_nutc0=jt9com_.nutc;
*future3 = QtConcurrent::run(decoder_, &m_TRperiod, &m_RxLog, &c0[0]);
watcher3->setFuture(*future3);
}
@@ -1342,7 +1344,6 @@ void MainWindow::on_logQSOButton_clicked() //Log QSO button
f.close();
}
/*
void MainWindow::on_actionErase_wsjtx_rx_log_triggered() //Erase Rx log
{
int ret = QMessageBox::warning(this, "Confirm Erase",
@@ -1352,7 +1353,6 @@ void MainWindow::on_actionErase_wsjtx_rx_log_triggered() //Erase Rx log
m_RxLog |= 2; // Rewind wsjtx_rx.log
}
}
*/
void MainWindow::on_actionErase_wsjtx_tx_log_triggered() //Erase Tx log
{