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:
Brian Moran 2023-02-18 10:00:18 -08:00
parent 6b6d74cad8
commit ce622487ca

View File

@ -9606,7 +9606,9 @@ list2Done:
} }
if(hc1!="") { if(hc1!="") {
// Log this QSO! auto already_logged = m_loggedByFox[hc1].contains(m_lastBand + " "); // already logged this call on this band?
if (!already_logged) { // Log this QSO!
auto QSO_time = QDateTime::currentDateTimeUtc (); auto QSO_time = QDateTime::currentDateTimeUtc ();
m_hisCall=hc1; m_hisCall=hc1;
m_hisGrid=m_foxQSO[hc1].grid; m_hisGrid=m_foxQSO[hc1].grid;
@ -9627,6 +9629,13 @@ list2Done:
} }
m_loggedByFox[hc1] += (m_lastBand + " "); 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));
}
}
if(i<n2 and fm=="") { if(i<n2 and fm=="") {
hc2=list2.at(i); hc2=list2.at(i);