From df502242f28d3953e444cdc200af12b57a4bfb2f Mon Sep 17 00:00:00 2001 From: Uwe Risse Date: Sat, 23 Apr 2022 12:02:50 +0200 Subject: [PATCH] Treat CQ xxxx and CQ xxx like CQ and CQ xx. --- widgets/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widgets/mainwindow.cpp b/widgets/mainwindow.cpp index 8f758b232..5d9ae6ddf 100644 --- a/widgets/mainwindow.cpp +++ b/widgets/mainwindow.cpp @@ -4859,7 +4859,7 @@ void MainWindow::processMessage (DecodedText const& message, Qt::KeyboardModifie } QString firstcall = message.call(); - if(firstcall.length()==5 and firstcall.mid(0,3)=="CQ ") firstcall="CQ"; + if(firstcall.length()>=4 and firstcall.mid(0,3)=="CQ ") firstcall="CQ"; if(!m_bFastMode and (!m_config.enable_VHF_features() or m_mode=="FT8")) { // Don't change Tx freq if in a fast mode, or VHF features enabled; also not if a // station is calling me, unless CTRL or SHIFT is held down.