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:
hjk
2022-11-23 15:49:49 +01:00
parent 74ba41f82c
commit 67e9c2d7a0
20 changed files with 114 additions and 90 deletions

View File

@@ -392,7 +392,7 @@ void QmakeBuildSystem::updateCppCodeModel()
});
}
generators.append(proGenerators);
fileList.prepend(CppEditor::CppModelManager::configurationFileName());
fileList.prepend(CppEditor::CppModelManager::configurationFileName().toString());
rpp.setFiles(fileList, [cumulativeSourceFiles](const QString &filePath) {
// Keep this lambda thread-safe!
return !cumulativeSourceFiles.contains(filePath);