From 197fd6a5ba2eba508ddb3df873404a918690cd04 Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Wed, 30 Dec 2020 13:06:33 -0500 Subject: [PATCH] Mofe the Q65 end-of-line flags so they're not so far to the right. --- widgets/displaytext.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/widgets/displaytext.cpp b/widgets/displaytext.cpp index e697958fc..91882ec2f 100644 --- a/widgets/displaytext.cpp +++ b/widgets/displaytext.cpp @@ -438,6 +438,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]$)"}); + if(ap_pos<0) ap_pos = message.lastIndexOf("q"); //Check for "q" decodes (used in Q65 only) if (ap_pos >= 0) { extra += message.mid (ap_pos) + QChar {' '};