Merge pull request #1095 from flowln/ensure_file_path_in_override

This commit is contained in:
Sefa Eyeoglu 2022-09-01 09:54:22 +02:00 committed by GitHub
commit 2f167b1512
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -467,6 +467,7 @@ bool overrideFolder(QString overwritten_path, QString override_path)
for (auto file : listFolderPaths(root_override)) { for (auto file : listFolderPaths(root_override)) {
QString destination = file; QString destination = file;
destination.replace(override_path, overwritten_path); destination.replace(override_path, overwritten_path);
ensureFilePathExists(destination);
qDebug() << QString("Applying override %1 in %2").arg(file, destination); qDebug() << QString("Applying override %1 in %2").arg(file, destination);