From 7ff801588cfc2967803f924c43fc29b290cbb580 Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Fri, 22 Sep 2017 22:09:04 +0000 Subject: [PATCH] Restore printing of MSK144 decode quality information Now that a way of dealing with worked before and country information without losing this information has been found. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8110 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- decodedtext.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/decodedtext.cpp b/decodedtext.cpp index e8a293fab..54c56e5f9 100644 --- a/decodedtext.cpp +++ b/decodedtext.cpp @@ -14,14 +14,13 @@ namespace } DecodedText::DecodedText (QString const& the_string, bool contest_mode, QString const& my_grid) - : string_ {the_string} - , padding_ {the_string.indexOf (" ") > 4 ? 2 : 0} // allow for + : string_ {the_string.left (the_string.indexOf (QChar::Nbsp))} // discard appended info + , padding_ {string_.indexOf (" ") > 4 ? 2 : 0} // allow for // seconds , contest_mode_ {contest_mode} , message_ {string_.mid (column_qsoText + padding_).trimmed ()} , is_standard_ {false} { - string_ = string_.left (column_qsoText + padding_ + 25); if (message_.length() >= 1) { message_ = message_.left (21).remove (QRegularExpression {"[<>]"});