diff options
Diffstat (limited to 'src/plugins/cpptools/cppsourceprocessor.cpp')
-rw-r--r-- | src/plugins/cpptools/cppsourceprocessor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cpptools/cppsourceprocessor.cpp b/src/plugins/cpptools/cppsourceprocessor.cpp index b16fe4b599..0f9b94a30f 100644 --- a/src/plugins/cpptools/cppsourceprocessor.cpp +++ b/src/plugins/cpptools/cppsourceprocessor.cpp @@ -301,7 +301,7 @@ QString CppSourceProcessor::resolveFile_helper(const QString &fileName, auto headerPathsEnd = m_headerPaths.end(); const int index = fileName.indexOf(QLatin1Char('/')); for (; headerPathsIt != headerPathsEnd; ++headerPathsIt) { - if (headerPathsIt->isValid()) { + if (!headerPathsIt->path.isNull()) { QString path; if (headerPathsIt->isFrameworkPath()) { if (index == -1) |