Commit 2e0e1086 authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

cleanPath() already implies fromNativeSeparators()



Change-Id: I125e0394eadd130d7515614d7417479d2ccb5bdc
Reviewed-by: default avatarDaniel Teske <daniel.teske@digia.com>
parent 99f5605b
......@@ -489,10 +489,9 @@ FileName FileName::fromString(const QString &filename)
/// Constructs a FileName from \a fileName
/// \a fileName is only passed through QDir::cleanPath
/// and QDir::fromNativeSeparators
FileName FileName::fromUserInput(const QString &filename)
{
return FileName(QDir::cleanPath(QDir::fromNativeSeparators(filename)));
return FileName(QDir::cleanPath(filename));
}
FileName::FileName(const QString &string)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment