forked from qt-creator/qt-creator
FilePath: Do not strip macros when normalizing path
Fixes: QTCREATORBUG-28484 Change-Id: Id6bcd2aef048bd355c196013c54799e4944135bd Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
ead1b7aa4a
commit
4225f475a4
@@ -1529,7 +1529,7 @@ static QString normalizePathSegmentHelper(const QString &name)
|
||||
{
|
||||
const int len = name.length();
|
||||
|
||||
if (len == 0)
|
||||
if (len == 0 || name.contains("%{"))
|
||||
return name;
|
||||
|
||||
int i = len - 1;
|
||||
|
Reference in New Issue
Block a user