remove trailing spaces

parent b72beec1
...@@ -1357,7 +1357,8 @@ bool SaxParser::ParseTxtFormat(const QString &fileName, SyncData* dataset, doubl ...@@ -1357,7 +1357,8 @@ bool SaxParser::ParseTxtFormat(const QString &fileName, SyncData* dataset, doubl
} }
continue; continue;
} }
line = line.trimmed(); // remove whitespaces from
// beginning and end
QStringList pieces = line.split(QRegExp("\\s+")); QStringList pieces = line.split(QRegExp("\\s+"));
double pos[3]; double pos[3];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment