From a2ce15d4b1fbc402d32e833c6a7c8aabd4adac85 Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Sun, 23 Dec 2018 23:51:48 +0000 Subject: [PATCH] Allow recevied signal reports from compound calls to be logged --- widgets/mainwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/widgets/mainwindow.cpp b/widgets/mainwindow.cpp index 4f7f4dc8b..bb0089d95 100644 --- a/widgets/mainwindow.cpp +++ b/widgets/mainwindow.cpp @@ -3173,8 +3173,8 @@ void MainWindow::readFromStdout() //readFromStdout QString grid; decodedtext.deCallAndGrid(/*out*/deCall,grid); { - QString t=Radio::base_callsign(ui->dxCallEntry->text()); - if((t==deCall or t=="") and rpt!="") m_rptRcvd=rpt; + auto t = Radio::base_callsign (ui->dxCallEntry->text ()); + if ((t == deCall || ui->dxCallEntry->text () == deCall || !t.size ()) && rpt.size ()) m_rptRcvd = rpt; } // extract details and send to PSKreporter int nsec=QDateTime::currentMSecsSinceEpoch()/1000-m_secBandChanged;