aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/cplusplus/FastPreprocessor.cpp
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2025-07-24 15:56:38 +0200
committerhjk <hjk@qt.io>2025-07-25 06:37:52 +0000
commit85299f3bd920e013a28e469e657040bdbc6bfd85 (patch)
tree45f2f5b19fab08167afdc6180097efff73acf148 /src/libs/cplusplus/FastPreprocessor.cpp
parentdc9f9e176ee82b8959315f5366b6eb8b77826ff7 (diff)
Cplusplus: Don't remote-qualify unresolved includes
Change-Id: I7479ac4e7212a0ea661c8cde400a64d59457dd9c Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
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);
}