summaryrefslogtreecommitdiff
path: root/widgets/mainwindow.cpp
diff options
context:
space:
mode:
authortony mancill <tmancill@debian.org>2022-01-04 16:18:49 -0800
committertony mancill <tmancill@debian.org>2022-01-04 16:18:49 -0800
commitd880c065e97ea8b16c6e421211995aff2154ed78 (patch)
treea855ad1859c6ea13e0cd2e9de0a9174a48a3ba82 /widgets/mainwindow.cpp
parent01bcb498db11c82ad357f473fc2db03ed4d01c53 (diff)
parentd47341d71ff3df889c1180eb7bfb4fc0272eb26b (diff)
Update upstream source from tag 'upstream/2.5.4+repack'
Update to upstream version '2.5.4+repack' with Debian dir 2cfa13c4816eb0b287f97eda669090422c37b968
Diffstat (limited to 'widgets/mainwindow.cpp')
-rwxr-xr-x[-rw-r--r--]widgets/mainwindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/widgets/mainwindow.cpp b/widgets/mainwindow.cpp
index b6cb6542..ecb5e860 100644..100755
--- a/widgets/mainwindow.cpp
+++ b/widgets/mainwindow.cpp
@@ -3643,7 +3643,8 @@ void MainWindow::auto_sequence (DecodedText const& message, unsigned start_toler
{
auto const& message_words = message.messageWords ();
auto is_73 = message_words.filter (QRegularExpression {"^(73|RR73)$"}).size();
- auto const& msg_no_hash = message.clean_string ().mid(22).remove("<").remove(">");
+ auto msg_no_hash = message.clean_string();
+ msg_no_hash = msg_no_hash.mid(22).remove("<").remove(">");
bool is_OK=false;
if(m_mode=="MSK144" && msg_no_hash.indexOf(ui->dxCallEntry->text()+" R ")>0) is_OK=true;
if (message_words.size () > 3 && (message.isStandardMessage() || (is_73 or is_OK))) {