From 871ff3892b3a53612432d7cdf146521f0b7d73d1 Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Thu, 28 Feb 2019 11:42:28 -0500 Subject: [PATCH] Use "CQ SCC ..." for Tx6 message if RTTY RU Exch = SCC. --- widgets/mainwindow.cpp | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/widgets/mainwindow.cpp b/widgets/mainwindow.cpp index 06b0e307a..a304af574 100644 --- a/widgets/mainwindow.cpp +++ b/widgets/mainwindow.cpp @@ -4849,12 +4849,17 @@ void MainWindow::genCQMsg () } QString t=ui->tx6->text(); - if((m_mode=="FT8" or m_mode=="MSK144") and SpecOp::NONE != m_config.special_op_id() and - t.split(" ").at(1)==m_config.my_callsign() and stdCall(m_config.my_callsign())) { + if((m_mode=="FT4" or m_mode=="FT8" or m_mode=="MSK144") and + SpecOp::NONE != m_config.special_op_id() and + t.split(" ").at(1)==m_config.my_callsign() and + stdCall(m_config.my_callsign())) { if(SpecOp::NA_VHF == m_config.special_op_id()) t="CQ TEST" + t.mid(2,-1); if(SpecOp::EU_VHF == m_config.special_op_id()) t="CQ TEST" + t.mid(2,-1); if(SpecOp::FIELD_DAY == m_config.special_op_id()) t="CQ FD" + t.mid(2,-1); - if(SpecOp::RTTY == m_config.special_op_id()) t="CQ RU" + t.mid(2,-1); + if(SpecOp::RTTY == m_config.special_op_id()) { + if(m_config.RTTY_Exchange()!="SCC") t="CQ RU" + t.mid(2,-1); + if(m_config.RTTY_Exchange()=="SCC") t="CQ SCC" + t.mid(2,-1); + } ui->tx6->setText(t); } } else {