forked from qt-creator/qt-creator
CppEditor: Proliferate FilePath use
Remove SnapShot::{find,contains}(QString) overloads and fix fallout.
Change-Id: I50c415826939e09ac111f33def611c7478fa5d97
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -134,7 +134,7 @@ static FileInfo getFileInfo(const FilePath &file, Project *project)
|
||||
for (const ProjectFile &projectFile : std::as_const(projectPart->files)) {
|
||||
QTC_ASSERT(projectFile.kind != ProjectFile::Unclassified, continue);
|
||||
QTC_ASSERT(projectFile.kind != ProjectFile::Unsupported, continue);
|
||||
if (projectFile.path == CppModelManager::configurationFileName())
|
||||
if (projectFile.path == CppModelManager::configurationFileName().path())
|
||||
continue;
|
||||
const auto projectFilePath = FilePath::fromString(projectFile.path);
|
||||
if (file != projectFilePath)
|
||||
|
||||
Reference in New Issue
Block a user