From 5e9297bb74c15e53a63bdce46bf2fd1cc0812f8d Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Thu, 4 Oct 2018 09:55:50 -0400 Subject: [PATCH] Fox/Hound must use 77-bit msgs. Generate "CQ TEST" and "CQ HUND" msgs. --- Configuration.cpp | 5 ++--- mainwindow.cpp | 5 ++++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Configuration.cpp b/Configuration.cpp index cfc9a0f43..8364bcd49 100644 --- a/Configuration.cpp +++ b/Configuration.cpp @@ -2645,11 +2645,10 @@ void Configuration::impl::on_cbHound_clicked (bool checked) void Configuration::impl::chk77() { bool b77OK = !ui_->cbFox->isChecked() and !ui_->cbHound->isChecked(); - ui_->groupBox_8->setEnabled(b77OK); ui_->groupBox_9->setEnabled(b77OK); if(!b77OK) { - ui_->cbGenerate77->setChecked(false); - ui_->cbDecode77->setChecked(false); + ui_->cbGenerate77->setChecked(true); + ui_->cbDecode77->setChecked(true); } } diff --git a/mainwindow.cpp b/mainwindow.cpp index 96eb58213..777116b85 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -4610,9 +4610,12 @@ void MainWindow::genCQMsg () QString t=ui->tx6->text(); if((m_mode=="FT8" or m_mode=="MSK144") and m_nContest!=NONE and t.split(" ").at(1)==m_config.my_callsign()) { -// if(m_nContest==NA_VHF) t="CQ QP" + t.mid(2,-1); + qDebug() << "aa" << m_nContest; + if(m_nContest==NA_VHF) t="CQ TEST" + t.mid(2,-1); + if(m_nContest==EU_VHF) t="CQ TEST" + t.mid(2,-1); if(m_nContest==FIELD_DAY) t="CQ FD" + t.mid(2,-1); if(m_nContest==RTTY) t="CQ RU" + t.mid(2,-1); + if(m_nContest==FOX) t="CQ HUND" + t.mid(2,-1); ui->tx6->setText(t); } } else {