From 0aa3a45514991c7fa234b2fd80038d39a50268ce Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Fri, 30 Mar 2018 19:28:30 +0000 Subject: [PATCH] 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 --- mainwindow.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index bbae6ed7c..442d9970f 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -3020,8 +3020,10 @@ void MainWindow::readFromStdout() //readFromStdout QString deCall; QString 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 int nsec=QDateTime::currentMSecsSinceEpoch()/1000-m_secBandChanged; bool okToPost=(nsec>(4*m_TRperiod)/5);