From 7aef92dd68bd0a643896766bd561806658e74e4c Mon Sep 17 00:00:00 2001 From: Jordan Sherer Date: Tue, 24 Jul 2018 03:07:36 -0400 Subject: [PATCH] Updated call activity once receiving compound callsign --- mainwindow.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/mainwindow.cpp b/mainwindow.cpp index b32a61a..e563ada 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -3328,6 +3328,14 @@ void MainWindow::readFromStdout() //readFromStdout if(shouldProcessCompound && decodedtext.isCompoundMessage()){ QString compoundCall = decodedtext.compoundCall(); m_compoundCallCache[Radio::base_callsign(compoundCall)] = compoundCall; + + CallDetail cd; + cd.call = compoundCall; + cd.grid = ""; + cd.snr = decodedtext.snr(); + cd.freq = decodedtext.frequencyOffset(); + cd.utcTimestamp = QDateTime::currentDateTimeUtc(); + m_callActivity[Radio::base_callsign(cd.call)] = cd; } } }