forked from qt-creator/qt-creator
Utils: Drop Utils::SkipEmptyParts again
We require Qt 5.14 nowadays. Change-Id: Iff245257d3cb19207007c0445ee13814e66152dd Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -237,7 +237,7 @@ QStringList splitCommandLine(QString commandLine, QSet<QString> &flagsCache)
|
||||
}
|
||||
} else { // If 's' is outside quotes ...
|
||||
for (const QString &flag :
|
||||
part.split(QRegularExpression("\\s+"), Utils::SkipEmptyParts)) {
|
||||
part.split(QRegularExpression("\\s+"), Qt::SkipEmptyParts)) {
|
||||
auto flagIt = flagsCache.insert(flag);
|
||||
result.append(*flagIt);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user