Utils: Remove now-unused FileName::appendPath()

Change-Id: I9d429a1f60930e27e3926e1242114bed3485f000
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
hjk
2019-05-20 17:37:05 +02:00
parent feb9d578c5
commit f7d224bf58
2 changed files with 0 additions and 12 deletions

View File

@@ -880,17 +880,6 @@ FileName FileName::relativeChildPath(const FileName &parent) const
return FileName::fromString(m_data.mid(parent.m_data.size() + 1, -1));
}
/// Appends \a s, ensuring a / between the parts
FileName &FileName::appendPath(const QString &s)
{
if (s.isEmpty())
return *this;
if (!isEmpty() && !m_data.endsWith(QLatin1Char('/')))
m_data.append('/');
m_data.append(s);
return *this;
}
FileName FileName::pathAppended(const QString &str) const
{
FileName fn = *this;