Remove leading whitespace from command lines in VS projects
Change-Id: I9888e5cce4fe82a27c823e7a0d345f1af839ca97 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
This commit is contained in:
parent
d67410c615
commit
9609e2945c
@ -320,7 +320,7 @@ triState operator!(const triState &rhs)
|
||||
QStringList VCToolBase::fixCommandLine(const QString &input)
|
||||
{
|
||||
// The splitting regexp is a bit bizarre for backwards compat reasons (why else ...).
|
||||
return input.split(QRegExp(QLatin1String("\n\t|\r\\\\h|\r\n")));
|
||||
return input.split(QRegExp(QLatin1String("(\n\t|\r\\\\h|\r\n)\\s*")));
|
||||
}
|
||||
|
||||
static QString vcCommandSeparator()
|
||||
|
Loading…
Reference in New Issue
Block a user