Utils: Introduce a non-mutating FileName::pathAppended

... and start using it. The plan is to replace all appendPath() uses.

Change-Id: I555bcfa742b99b0951b98b0c0e707422c348fadb
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
hjk
2019-05-15 08:15:19 +02:00
parent 86f072daeb
commit d1f9e466da
5 changed files with 31 additions and 35 deletions

View File

@@ -94,6 +94,7 @@ public:
FileName relativeChildPath(const FileName &parent) const;
FileName &appendPath(const QString &s);
FileName pathAppended(const QString &str) const;
FileName stringAppended(const QString &str) const;
void clear() { m_data.clear(); }