From 8cec7c7e2a1862adff3d9723e0efe21ff708b8c1 Mon Sep 17 00:00:00 2001 From: Uwe Risse Date: Wed, 1 Mar 2023 17:40:55 +0100 Subject: [PATCH] Make the FT8 Hound mode compatible with MSHV messages. --- widgets/mainwindow.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/widgets/mainwindow.cpp b/widgets/mainwindow.cpp index f53edb248..c8b52b205 100644 --- a/widgets/mainwindow.cpp +++ b/widgets/mainwindow.cpp @@ -4167,7 +4167,8 @@ void MainWindow::readFromStdout() //readFromStdout hound_reply (); } } else { - QStringList w=decodedtext.string().replace("<","").replace(">","").mid(24).split(" ",SkipEmptyParts); // .replace("<","").replace(">","") is needed for MSHV multistream messages + QString text = decodedtext.string().replace("<","").replace(">",""); // needed for MSHV multistream messages + QStringList w=text.mid(24).split(" ",SkipEmptyParts); if(decodedtext.string().contains("/")) w.append(" +00"); //Add a dummy report if(w.size()>=3) { QString foxCall=w.at(1); @@ -4182,7 +4183,8 @@ void MainWindow::readFromStdout() //readFromStdout m_rptRcvd=w.at(2); m_rptSent=decodedtext.string().mid(7,3); m_nFoxFreq=decodedtext.string().mid(16,4).toInt(); - hound_reply (); + } else { + if (text.contains(m_config.my_callsign() + " " + m_hisCall) && !text.contains("73 ")) processMessage(decodedtext0); // needed for MSHV multistream messages } } }