forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/9.0'
Change-Id: I231d35f492713f317773b79478b5f7fb97a4fe50
This commit is contained in:
@@ -933,8 +933,9 @@ QVariant FilePath::toVariant() const
|
||||
|
||||
bool FilePath::operator==(const FilePath &other) const
|
||||
{
|
||||
return pathView().compare(other.pathView(), caseSensitivity()) == 0 && host() == other.host()
|
||||
&& scheme() == other.scheme();
|
||||
return pathView().compare(other.pathView(), caseSensitivity()) == 0
|
||||
&& host() == other.host()
|
||||
&& scheme() == other.scheme();
|
||||
}
|
||||
|
||||
bool FilePath::operator!=(const FilePath &other) const
|
||||
@@ -1588,7 +1589,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