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:
@@ -324,7 +324,7 @@ static QStringList environmentTemplatesPaths()
|
||||
|
||||
if (!envTempPath.isEmpty()) {
|
||||
for (const QString &path : envTempPath
|
||||
.split(Utils::HostOsInfo::pathListSeparator(), Utils::SkipEmptyParts)) {
|
||||
.split(Utils::HostOsInfo::pathListSeparator(), Qt::SkipEmptyParts)) {
|
||||
QString canonicalPath = QDir(path).canonicalPath();
|
||||
if (!canonicalPath.isEmpty() && !paths.contains(canonicalPath))
|
||||
paths.append(canonicalPath);
|
||||
|
||||
Reference in New Issue
Block a user