forked from qt-creator/qt-creator
ProjectExplorer: Move some of the BuildInfo setup code to central places
Change-Id: I8893366acb187ea1a94a8ca272ded2c46cb521d1 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -932,10 +932,10 @@ void Project::setup(const QList<BuildInfo> &infoList)
|
||||
toRegister.emplace_back(std::move(newTarget));
|
||||
}
|
||||
|
||||
if (!info.factory())
|
||||
if (!info.factory)
|
||||
continue;
|
||||
|
||||
if (BuildConfiguration *bc = info.factory()->create(t, info))
|
||||
if (BuildConfiguration *bc = info.factory->create(t, info))
|
||||
t->addBuildConfiguration(bc);
|
||||
}
|
||||
for (std::unique_ptr<Target> &t : toRegister) {
|
||||
|
||||
Reference in New Issue
Block a user