From ed92d0811ae6df61b12b887935bf1bcef0779ea8 Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Sat, 10 Oct 2020 13:18:04 +0100 Subject: [PATCH] Implement "No own decodes" functionality for FST4W mode --- widgets/mainwindow.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/widgets/mainwindow.cpp b/widgets/mainwindow.cpp index 9f073c234..e6b410d41 100644 --- a/widgets/mainwindow.cpp +++ b/widgets/mainwindow.cpp @@ -3312,6 +3312,12 @@ void MainWindow::readFromStdout() //readFromStdout fSpread = text.toFloat (&haveFSpread); line_read = line_read.left (64); } + auto const& cs = m_config.my_callsign ().toLocal8Bit (); + if ("FST4W" == m_mode && ui->cbNoOwnCall->isChecked () + && (line_read.contains (" " + cs + " ") + || line_read.contains ("<" + cs + ">"))) { + continue; + } } if (m_mode!="FT8" and m_mode!="FT4" && !m_mode.startsWith ("FST4")) {