mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-08-05 15:42:24 -04:00
Fox should not log hound again if they've been logged before. Call is still noted in FoxQSO however, with Dup: instead of Log: (K7AR)
This commit is contained in:
parent
6b6d74cad8
commit
ce622487ca
@ -9606,26 +9606,35 @@ list2Done:
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(hc1!="") {
|
if(hc1!="") {
|
||||||
// Log this QSO!
|
auto already_logged = m_loggedByFox[hc1].contains(m_lastBand + " "); // already logged this call on this band?
|
||||||
auto QSO_time = QDateTime::currentDateTimeUtc ();
|
|
||||||
m_hisCall=hc1;
|
if (!already_logged) { // Log this QSO!
|
||||||
m_hisGrid=m_foxQSO[hc1].grid;
|
auto QSO_time = QDateTime::currentDateTimeUtc ();
|
||||||
m_rptSent=m_foxQSO[hc1].sent;
|
m_hisCall=hc1;
|
||||||
m_rptRcvd=m_foxQSO[hc1].rcvd;
|
m_hisGrid=m_foxQSO[hc1].grid;
|
||||||
if (!m_foxLogWindow) on_fox_log_action_triggered ();
|
m_rptSent=m_foxQSO[hc1].sent;
|
||||||
if (m_logBook.fox_log ()->add_QSO (QSO_time, m_hisCall, m_hisGrid, m_rptSent, m_rptRcvd, m_lastBand))
|
m_rptRcvd=m_foxQSO[hc1].rcvd;
|
||||||
{
|
if (!m_foxLogWindow) on_fox_log_action_triggered ();
|
||||||
writeFoxQSO (QString {" Log: %1 %2 %3 %4 %5"}.arg (m_hisCall).arg (m_hisGrid)
|
if (m_logBook.fox_log ()->add_QSO (QSO_time, m_hisCall, m_hisGrid, m_rptSent, m_rptRcvd, m_lastBand))
|
||||||
.arg (m_rptSent).arg (m_rptRcvd).arg (m_lastBand));
|
{
|
||||||
on_logQSOButton_clicked ();
|
writeFoxQSO (QString {" Log: %1 %2 %3 %4 %5"}.arg (m_hisCall).arg (m_hisGrid)
|
||||||
m_foxRateQueue.enqueue (now); //Add present time in seconds
|
.arg (m_rptSent).arg (m_rptRcvd).arg (m_lastBand));
|
||||||
//to Rate queue.
|
on_logQSOButton_clicked ();
|
||||||
QTimer::singleShot (13000, [=] {
|
m_foxRateQueue.enqueue (now); //Add present time in seconds
|
||||||
m_foxQSOinProgress.removeOne(hc1); //Remove from In Progress window
|
//to Rate queue.
|
||||||
updateFoxQSOsInProgressDisplay(); //Update InProgress display after Tx is complete
|
QTimer::singleShot (13000, [=] {
|
||||||
});
|
m_foxQSOinProgress.removeOne(hc1); //Remove from In Progress window
|
||||||
|
updateFoxQSOsInProgressDisplay(); //Update InProgress display after Tx is complete
|
||||||
|
});
|
||||||
|
}
|
||||||
|
m_loggedByFox[hc1] += (m_lastBand + " ");
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// note that this is a duplicate
|
||||||
|
writeFoxQSO(QString{" Dup: %1 %2 %3 %4 %5"}.arg(m_hisCall).arg(m_hisGrid)
|
||||||
|
.arg(m_rptSent).arg(m_rptRcvd).arg(m_lastBand));
|
||||||
}
|
}
|
||||||
m_loggedByFox[hc1] += (m_lastBand + " ");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if(i<n2 and fm=="") {
|
if(i<n2 and fm=="") {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user