forked from qt-creator/qt-creator
CppModelManager: Pass context object into signal connection
Change-Id: I6b66fbc6300597534a1498e4abbd8c3162cee73e Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -886,7 +886,7 @@ void CppModelManager::initCppTools()
|
||||
connect(VcsManager::instance(), &VcsManager::repositoryChanged,
|
||||
this, &CppModelManager::updateModifiedSourceFiles);
|
||||
connect(DocumentManager::instance(), &DocumentManager::filesChangedInternally,
|
||||
[this](const FilePaths &filePaths) {
|
||||
this, [this](const FilePaths &filePaths) {
|
||||
updateSourceFiles(toSet(filePaths));
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user