Remove a few now-unnecessary cleanPath in conjunction with resolvePath

Change-Id: I05ee0116183a30e907fbd8e0b4faae9e6e58723d
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2022-11-30 13:41:49 +01:00
parent 76804a0839
commit 7e9d50a2c9
5 changed files with 8 additions and 10 deletions

View File

@@ -1559,8 +1559,7 @@ FilePath FilePath::resolvePath(const FilePath &tail) const
*/
FilePath FilePath::resolvePath(const QString &tail) const
{
FilePath tailPath = FilePath::fromString(doCleanPath(tail));
return resolvePath(tailPath);
return resolvePath(FilePath::fromString(tail));
}
// Cleans path part similar to QDir::cleanPath()