mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-26 14:18:38 -05:00
Fix a bug in saving the correct "Rpt Rcvd" when someone tailends a QSO by sending Tx2.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8588 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
55e9635b47
commit
bc8e860b59
@ -3011,9 +3011,14 @@ void MainWindow::readFromStdout() //readFromStdout
|
||||
m_mode=="JT9") auto_sequence (decodedtext, 25, 50);
|
||||
postDecode (true, decodedtext.string ());
|
||||
|
||||
// find and extract any report for myCall
|
||||
// find and extract any report for myCall, but save in m_rptRcvd only if it's from DXcall
|
||||
QString rpt;
|
||||
bool stdMsg = decodedtext.report(m_baseCall,
|
||||
Radio::base_callsign(ui->dxCallEntry->text()), m_rptRcvd);
|
||||
Radio::base_callsign(ui->dxCallEntry->text()), rpt);
|
||||
QString deCall;
|
||||
QString grid;
|
||||
decodedtext.deCallAndGrid(/*out*/deCall,grid);
|
||||
if(Radio::base_callsign(ui->dxCallEntry->text())==deCall) m_rptRcvd=rpt;
|
||||
// extract details and send to PSKreporter
|
||||
int nsec=QDateTime::currentMSecsSinceEpoch()/1000-m_secBandChanged;
|
||||
bool okToPost=(nsec>(4*m_TRperiod)/5);
|
||||
|
Loading…
Reference in New Issue
Block a user