forked from qt-creator/qt-creator
Utils: Remove unneeded namespace qualifications
Change-Id: Iacab8410ab4d3b63f96e7541b450e3cc729ab662 Reviewed-by: Daniel Teske <daniel.teske@digia.com> Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -644,7 +644,7 @@ bool FileName::isChildOf(const FileName &s) const
|
||||
/// \overload
|
||||
bool FileName::isChildOf(const QDir &dir) const
|
||||
{
|
||||
return isChildOf(Utils::FileName::fromString(dir.absolutePath()));
|
||||
return isChildOf(FileName::fromString(dir.absolutePath()));
|
||||
}
|
||||
|
||||
/// \returns whether FileName endsWith \a s
|
||||
@@ -659,7 +659,7 @@ bool FileName::endsWith(const QString &s) const
|
||||
FileName FileName::relativeChildPath(const FileName &parent) const
|
||||
{
|
||||
if (!isChildOf(parent))
|
||||
return Utils::FileName();
|
||||
return FileName();
|
||||
return FileName(QString::mid(parent.size() + 1, -1));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user