mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-25 05:38:46 -05:00
Fix issue compiling with Qt older than v5.7
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8063 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
dd1362b69a
commit
51d50ecf78
@ -43,9 +43,9 @@ DecodedText::DecodedText (QString const& the_string, bool contest_mode, QString
|
||||
// stdmsg is a fortran routine that packs the text, unpacks it
|
||||
// and compares the result
|
||||
auto message_c_string = message_.toLocal8Bit ();
|
||||
message_c_string.append (22 - message_c_string.size (), ' ');
|
||||
message_c_string += QByteArray {22 - message_c_string.size (), ' '};
|
||||
auto grid_c_string = my_grid.toLocal8Bit ();
|
||||
grid_c_string.append (6 - grid_c_string.size (), ' ');
|
||||
grid_c_string += QByteArray {6 - grid_c_string.size (), ' '};
|
||||
is_standard_ = stdmsg_ (message_c_string.constData ()
|
||||
, contest_mode_
|
||||
, grid_c_string.constData ()
|
||||
|
Loading…
Reference in New Issue
Block a user