forked from qt-creator/qt-creator
Utils: Introduce FilePath::operator/(const QString &)
Including some random uses. This mimics std::filesystem::operator/(std::filesystem::path). Change-Id: I0b0f5cf0d962fd33d4cbb9be96645a0b4a21ee03 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -111,6 +111,8 @@ public:
|
||||
|
||||
FilePath canonicalPath() const;
|
||||
|
||||
FilePath operator/(const QString &str) const;
|
||||
|
||||
void clear() { m_data.clear(); }
|
||||
bool isEmpty() const { return m_data.isEmpty(); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user