mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-07-16 08:35:17 -04:00
Allow static 4-digit numbers as FT RU exchanges instead of serial numbers. This extends the usability of the FT RU protocol for other contest types.
This commit is contained in:
parent
54e46d90f2
commit
99876a1916
@ -245,6 +245,7 @@ namespace
|
|||||||
|X85|X86|X87|X88|X89|X90|X91
|
|X85|X86|X87|X88|X89|X90|X91
|
||||||
|X92|X93|X94|X95|X96|X97|X98
|
|X92|X93|X94|X95|X96|X97|X98
|
||||||
|X99
|
|X99
|
||||||
|
|[0-9][0-9][0-9][0-9] # 4-digit numbers
|
||||||
)
|
)
|
||||||
)", QRegularExpression::CaseInsensitiveOption | QRegularExpression::ExtendedPatternSyntaxOption};
|
)", QRegularExpression::CaseInsensitiveOption | QRegularExpression::ExtendedPatternSyntaxOption};
|
||||||
|
|
||||||
|
@ -6102,6 +6102,9 @@ void MainWindow::genStdMsgs(QString rpt, bool unconditional)
|
|||||||
t1 = t1.asprintf("%4.4d",ui->sbSerialNumber->value());
|
t1 = t1.asprintf("%4.4d",ui->sbSerialNumber->value());
|
||||||
sent=rst + t1;
|
sent=rst + t1;
|
||||||
}
|
}
|
||||||
|
if(t1.contains(QRegularExpression {"\\d\\d\\d\\d"})) {
|
||||||
|
t1 = m_config.RTTY_Exchange();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if(SpecOp::EU_VHF==m_specOp) {
|
if(SpecOp::EU_VHF==m_specOp) {
|
||||||
QString a;
|
QString a;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user