fix: unify path delimiter in output
This commit is contained in:
parent
30693baa9e
commit
f3b36985ff
|
@ -539,9 +539,9 @@ QString changeFileExt(const QString& filename, QString ext)
|
||||||
path = includeTrailingPathDelimiter(fileInfo.path());
|
path = includeTrailingPathDelimiter(fileInfo.path());
|
||||||
}
|
}
|
||||||
if (suffix.isEmpty()) {
|
if (suffix.isEmpty()) {
|
||||||
return path+name+ext;
|
return QFileInfo{path+name+ext}.absoluteFilePath();
|
||||||
} else {
|
} else {
|
||||||
return path+fileInfo.completeBaseName()+ext;
|
return QFileInfo{path+fileInfo.completeBaseName()+ext}.absoluteFilePath();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue