diff options
| author | Christoph Berg <myon@debian.org> | 2021-02-03 22:55:29 +0100 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2021-02-03 22:55:29 +0100 |
| commit | 55305a51ab218d83b04c669d2d4802c08b9bfd22 (patch) | |
| tree | ea207dc64335f601eb64815cb20ca767cb7b302f /widgets/displaytext.cpp | |
| parent | 40574b7e2351202c19ca28e5f133511878d7ac3f (diff) | |
| parent | 1c4a8c9374cacfc002e47c8e3bb824e82aa8441c (diff) | |
Update upstream source from tag 'upstream/2.4.0_rc1+repack'
Update to upstream version '2.4.0~rc1+repack'
with Debian dir 0eeb5347725d90ba31891461bba2ac808f205c0b
Diffstat (limited to 'widgets/displaytext.cpp')
| -rw-r--r-- | widgets/displaytext.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/widgets/displaytext.cpp b/widgets/displaytext.cpp index b083defc..2d916efd 100644 --- a/widgets/displaytext.cpp +++ b/widgets/displaytext.cpp @@ -437,7 +437,7 @@ void DisplayText::displayDecodedText(DecodedText const& decodedText, QString con { extra += QString {"%1"}.arg (fSpread, 5, 'f', fSpread < 0.95 ? 3 : 2) + QChar {' '}; } - auto ap_pos = message.lastIndexOf (QRegularExpression {R"((?:\?\s)?a[0-9]$)"}); + auto ap_pos = message.lastIndexOf (QRegularExpression {R"((?:\?\s)?(?:a[0-9]|q[0-9][0-9*]?)$)"}); if (ap_pos >= 0) { extra += message.mid (ap_pos) + QChar {' '}; @@ -485,6 +485,7 @@ void DisplayText::displayTransmittedText(QString text, QString modeTx, qint32 tx if(modeTx=="FT4") t1=" + "; if(modeTx=="FT8") t1=" ~ "; if(modeTx=="JT4") t1=" $ "; + if(modeTx=="Q65") t1=" : "; if(modeTx=="JT65") t1=" # "; if(modeTx=="MSK144") t1=" & "; if(modeTx=="FST4") t1=" ` "; |
