aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/cplusplus/FastPreprocessor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/cplusplus/FastPreprocessor.cpp')
-rw-r--r--src/libs/cplusplus/FastPreprocessor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/cplusplus/FastPreprocessor.cpp b/src/libs/cplusplus/FastPreprocessor.cpp
index 1633063c81a..7fde10f78e1 100644
--- a/src/libs/cplusplus/FastPreprocessor.cpp
+++ b/src/libs/cplusplus/FastPreprocessor.cpp
@@ -59,7 +59,7 @@ void FastPreprocessor::sourceNeeded(int line, const FilePath &filePath, IncludeT
if (_addIncludesToCurrentDoc) {
// CHECKME: Is that cleanPath needed?
const FilePath cleanPath = filePath.cleanPath();
- _currentDoc->addIncludeFile(Document::Include(filePath.toUrlishString(), cleanPath, line, mode));
+ _currentDoc->addIncludeFile(Document::Include(filePath.path(), cleanPath, line, mode));
}
mergeEnvironment(filePath);
}