diff --git a/widgets/mainwindow.cpp b/widgets/mainwindow.cpp index 74fc157a2..4ffc5c072 100644 --- a/widgets/mainwindow.cpp +++ b/widgets/mainwindow.cpp @@ -8004,6 +8004,7 @@ void MainWindow::p1ReadFromStdout() //p1readFromStdout } else { int n=t.length(); + t=t.left(85); // truncate any apriori code t=t.mid(0,n-2) + " "; t.remove(QRegExp("\\s+$")); QStringList rxFields = t.split(QRegExp("\\s+"));