forked from qt-creator/qt-creator
ExtraCompiler: Remove stored targets list
Itereate over the hash keys instead. Change-Id: Ib14bef708b74ed1938bcb985b3a5091aca704391 Reviewed-by: Ulf Hermann <ulf.hermann@theqtcompany.com> Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
1c483b95a6
commit
ba517fcfab
@@ -122,8 +122,9 @@ void GeneratedCodeModelSupport::update(const QList<ProjectExplorer::ExtraCompile
|
||||
continue;
|
||||
|
||||
extraCompilerCache.insert(generator);
|
||||
foreach (const Utils::FileName &generatedFile, generator->targets())
|
||||
generator->forEachTarget([mm, generator](const Utils::FileName &generatedFile) {
|
||||
new GeneratedCodeModelSupport(mm, generator, generatedFile);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user