Merge pull request #2425 from Trial97/win_char
improve invalid path name
This commit is contained in:
commit
7d418a32e7
8 changed files with 62 additions and 20 deletions
|
@ -538,9 +538,7 @@ void FlameCreationTask::setupDownloadJob(QEventLoop& loop)
|
|||
}
|
||||
for (const auto& result : results) {
|
||||
auto fileName = result.fileName;
|
||||
#ifdef Q_OS_WIN
|
||||
fileName = FS::RemoveInvalidPathChars(fileName);
|
||||
#endif
|
||||
auto relpath = FS::PathCombine(result.targetFolder, fileName);
|
||||
|
||||
if (!result.required && !selectedOptionalMods.contains(relpath)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue