forked from qt-creator/qt-creator
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user