Utils: Remove rarely used FilePath constructor

Not much benefit interface-wise.

Change-Id: I0e605ec235e8072efcbf7e777cf7e8f8ee5e0799
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
hjk
2019-05-28 15:51:27 +02:00
parent 473a741c9f
commit 613d2e7d23
3 changed files with 2 additions and 10 deletions

View File

@@ -760,13 +760,6 @@ FilePath FilePath::fromStringWithExtension(const QString &filepath, const QStrin
return FilePath::fromString(rc);
}
/// Constructs a FileName from \a fileName
/// \a fileName is not checked for validity.
FilePath FilePath::fromLatin1(const QByteArray &filename)
{
return FilePath::fromString(QString::fromLatin1(filename));
}
/// Constructs a FileName from \a fileName
/// \a fileName is only passed through QDir::cleanPath
FilePath FilePath::fromUserInput(const QString &filename)