File System view: Add "New Folder" to context menu

Task-number: QTCREATORBUG-17358
Change-Id: I64b3d34ca0432369630382c40cf749f3cc1a08df
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
Eike Ziller
2018-03-27 15:07:54 +02:00
parent ab7960f6cf
commit 6f91ce1c52
4 changed files with 39 additions and 0 deletions

View File

@@ -726,6 +726,13 @@ bool FileName::operator>=(const FileName &other) const
return other <= *this;
}
FileName FileName::operator+(const QString &s) const
{
FileName result(*this);
result.appendString(s);
return result;
}
/// \returns whether FileName is a child of \a s
bool FileName::isChildOf(const FileName &s) const
{