From 87154074dcd15d46adc9ed916b4a025e48b763a6 Mon Sep 17 00:00:00 2001 From: Mohcine Chraibi <m.chraibi@fz-juelich.de> Date: Thu, 21 Mar 2019 23:45:56 +0800 Subject: [PATCH] remove trailing spaces --- src/SaxParser.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/SaxParser.cpp b/src/SaxParser.cpp index 09514ff..cd0f3ac 100644 --- a/src/SaxParser.cpp +++ b/src/SaxParser.cpp @@ -1357,7 +1357,8 @@ bool SaxParser::ParseTxtFormat(const QString &fileName, SyncData* dataset, doubl } continue; } - + line = line.trimmed(); // remove whitespaces from + // beginning and end QStringList pieces = line.split(QRegExp("\\s+")); double pos[3]; -- GitLab