File paths: Convert native Win paths to use "/"

On linux we need to convert filepaths produced on windows manually
before trying to find the relatively placed files referenced by the
project.
This commit is contained in:
JacobStoren
2013-10-07 11:45:54 +02:00
parent 3faa9d65a4
commit 3264520619
2 changed files with 32 additions and 4 deletions

View File

@@ -296,7 +296,12 @@ void RimResultCase::updateFilePathsFromProjectPath(const QString& newProjectPath
// Update filename and folder paths when opening project from a different file location
caseFileName = relocateFile(caseFileName(), newProjectPath, oldProjectPath, &foundFile, &searchedPaths);
#if 0 // Output the search path for debugging
for (size_t i = 0; i < searchedPaths.size(); ++i)
qDebug() << searchedPaths[i];
#endif
}
//--------------------------------------------------------------------------------------------------