summaryrefslogtreecommitdiff
path: root/Decoder
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2022-08-08 23:08:31 +0200
committerChristoph Berg <myon@debian.org>2022-08-08 23:08:31 +0200
commitdca111ba9c5235bb1a16d62c6999939bc1ac4cbe (patch)
tree4eec80a7d177c16b0cbfe19219490c5b5c635367 /Decoder
parent231d846d6f285b93cf8fa3df50492d6b51446a4c (diff)
parent43bebfbad6e7ba026bd3d55720c7d9e12a7ef8ef (diff)
Update upstream source from tag 'upstream/2.6.0_rc2+repack'
Update to upstream version '2.6.0~rc2+repack' with Debian dir 381b71368ce7055e3f42f51abf3971cbbbbbd178
Diffstat (limited to 'Decoder')
-rwxr-xr-xDecoder/decodedtext.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Decoder/decodedtext.cpp b/Decoder/decodedtext.cpp
index e65d34bd..3c684f82 100755
--- a/Decoder/decodedtext.cpp
+++ b/Decoder/decodedtext.cpp
@@ -60,6 +60,8 @@ DecodedText::DecodedText (QString const& the_string)
// qDebug () << "DecodedText: the_string:" << the_string << "Nbsp pos:" << the_string.indexOf (QChar::Nbsp);
if (message_.length() >= 1)
{
+// remove appended confidence (?) and ap designators before truncating the message
+ message_ = clean_string_.mid (column_qsoText + padding_).trimmed ();
message0_ = message_.left(37);
message_ = message_.left(37).remove (QRegularExpression {"[<>]"});
int i1 = message_.indexOf ('\r');