forked from qt-creator/qt-creator
Utils: Make FilePath::operator+() work with remote paths
Change-Id: I1f0963b4da8c000fa1ea709d358490cb8f986ee5 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -1043,7 +1043,9 @@ bool FilePath::operator>=(const FilePath &other) const
|
||||
|
||||
FilePath FilePath::operator+(const QString &s) const
|
||||
{
|
||||
return FilePath::fromString(m_data + s);
|
||||
FilePath res = *this;
|
||||
res.m_data += s;
|
||||
return res;
|
||||
}
|
||||
|
||||
/// \returns whether FilePath is a child of \a s
|
||||
|
||||
Reference in New Issue
Block a user