mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-07-01 01:15:16 -04:00
Another attempt to get m_rptRcvd logged correctly in special circumstances.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8592 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
7620590689
commit
0aa3a45514
@ -3020,8 +3020,10 @@ void MainWindow::readFromStdout() //readFromStdout
|
|||||||
QString deCall;
|
QString deCall;
|
||||||
QString grid;
|
QString grid;
|
||||||
decodedtext.deCallAndGrid(/*out*/deCall,grid);
|
decodedtext.deCallAndGrid(/*out*/deCall,grid);
|
||||||
if(Radio::base_callsign(ui->dxCallEntry->text())==deCall and
|
{
|
||||||
rpt!="") m_rptRcvd=rpt;
|
QString t=Radio::base_callsign(ui->dxCallEntry->text());
|
||||||
|
if((t==deCall or t=="") and rpt!="") m_rptRcvd=rpt;
|
||||||
|
}
|
||||||
// extract details and send to PSKreporter
|
// extract details and send to PSKreporter
|
||||||
int nsec=QDateTime::currentMSecsSinceEpoch()/1000-m_secBandChanged;
|
int nsec=QDateTime::currentMSecsSinceEpoch()/1000-m_secBandChanged;
|
||||||
bool okToPost=(nsec>(4*m_TRperiod)/5);
|
bool okToPost=(nsec>(4*m_TRperiod)/5);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user