forked from qt-creator/qt-creator
Core: use FilePaths to notify files changed internally
Change-Id: I2fce65ad340f18292fc0286233e78aaf769a130d Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -601,8 +601,8 @@ void CppModelManager::initCppTools()
|
||||
connect(Core::VcsManager::instance(), &Core::VcsManager::repositoryChanged,
|
||||
this, &CppModelManager::updateModifiedSourceFiles);
|
||||
connect(Core::DocumentManager::instance(), &Core::DocumentManager::filesChangedInternally,
|
||||
[this](const QStringList &files) {
|
||||
updateSourceFiles(Utils::toSet(files));
|
||||
[this](const Utils::FilePaths &filePaths) {
|
||||
updateSourceFiles(Utils::transform<QSet>(filePaths, &Utils::FilePath::toString));
|
||||
});
|
||||
|
||||
connect(this, &CppModelManager::documentUpdated,
|
||||
|
Reference in New Issue
Block a user