Decoded text needs padding for columns

This commit is contained in:
Jordan Sherer 2019-10-21 14:17:16 -04:00
parent 5313706818
commit 24392fdaf3

View File

@ -25,7 +25,7 @@ DecodedText::DecodedText (QString const& the_string, bool contest_mode, QString
, isHeartbeat_(false)
, isAlt_(false)
, bits_{0}
, submode_{ string_.mid(column_mode, 3).trimmed().at(0).cell() - 'A' }
, submode_{ string_.mid(column_mode + padding_, 3).trimmed().at(0).cell() - 'A' }
{
if(message_.length() >= 1) {
message_ = message_.left (21).remove (QRegularExpression {"[<>]"});