logic: Fixed relative paths not working Code::Blocks project files (issue #663)

* Index non-target files if no others available
This commit is contained in:
Eberhard Graether
2019-01-10 22:11:05 +01:00
parent 7d94302712
commit 3014dd35a8
9 changed files with 96 additions and 34 deletions
@@ -327,7 +327,7 @@ std::vector<FilePath> QtProjectWizzardContentIndexedHeaderPaths::getIndexedPaths
return path.getCanonical();
});
for (const FilePath& path : codeblocksProject->getAllSourceFilePaths(settings->getSourceExtensions()))
for (const FilePath& path : codeblocksProject->getAllSourceFilePathsCanonical(settings->getSourceExtensions()))
{
indexedHeaderPaths.insert(canonicalDirectoryPathCache.getValue(path.getParentDirectory()));
}