diff options
| author | Christoph Berg <christoph.berg@credativ.de> | 2020-06-26 09:28:37 +0200 |
|---|---|---|
| committer | Christoph Berg <christoph.berg@credativ.de> | 2020-06-26 09:28:37 +0200 |
| commit | 28f34ff4908a90b1a7323b2988c33cdb1779fa06 (patch) | |
| tree | 441994b458ea44a1c1019a365d4ec379c34da04f /Decoder/decodedtext.cpp | |
| parent | ee0e1a654b7e64accea78a5aa66ec1e62bd352c8 (diff) | |
New upstream version 2.2.2+repackupstream/2.2.2+repack
Diffstat (limited to 'Decoder/decodedtext.cpp')
| -rw-r--r-- | Decoder/decodedtext.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Decoder/decodedtext.cpp b/Decoder/decodedtext.cpp index 7d5a57e8..e476ecb9 100644 --- a/Decoder/decodedtext.cpp +++ b/Decoder/decodedtext.cpp @@ -3,6 +3,7 @@ #include <QStringList> #include <QRegularExpression> #include <QDebug> +#include "qt_helpers.hpp" extern "C" { bool stdmsg_(char const * msg, fortran_charlen_t); @@ -58,7 +59,7 @@ QStringList DecodedText::messageWords () const return words_re.match(t).capturedTexts(); } // simple word split for free text messages - auto words = message_.split (' ', QString::SkipEmptyParts); + auto words = message_.split (' ', SkipEmptyParts); // add whole message as item 0 to mimic RE capture list words.prepend (message_); return words; @@ -122,7 +123,7 @@ bool DecodedText::report(QString const& myBaseCall, QString const& dxBaseCall, / { if (message_.size () < 1) return false; - QStringList const& w = message_.split(" ",QString::SkipEmptyParts); + QStringList const& w = message_.split(" ", SkipEmptyParts); if (w.size () && is_standard_ && (w[0] == myBaseCall || w[0].endsWith ("/" + myBaseCall) |
