forked from qt-creator/qt-creator
CMakeProjectManager: Rename some of the KitAspect related classes
... and split out the static interface. Change-Id: I28cdb2765a00d1bd19790f46a3b2b0da8690e929 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -646,18 +646,18 @@ void CMakeBuildSettingsWidget::kitCMakeConfiguration()
|
||||
m_buildConfig->kit()->unblockNotification();
|
||||
});
|
||||
|
||||
CMakeKitAspect kitAspect;
|
||||
CMakeGeneratorKitAspect generatorAspect;
|
||||
CMakeConfigurationKitAspect configurationKitAspect;
|
||||
CMakeKitAspectFactory kitAspectFactory;
|
||||
CMakeGeneratorKitAspectFactory generatorAspectFactory;
|
||||
CMakeConfigurationKitAspectFactory configurationKitAspectFactory;
|
||||
|
||||
Layouting::Grid grid;
|
||||
KitAspect *widget = kitAspect.createKitAspect(m_buildConfig->kit());
|
||||
KitAspect *widget = kitAspectFactory.createKitAspect(m_buildConfig->kit());
|
||||
widget->setParent(dialog);
|
||||
widget->addToLayoutWithLabel(grid, dialog);
|
||||
widget = generatorAspect.createKitAspect(m_buildConfig->kit());
|
||||
widget = generatorAspectFactory.createKitAspect(m_buildConfig->kit());
|
||||
widget->setParent(dialog);
|
||||
widget->addToLayoutWithLabel(grid, dialog);
|
||||
widget = configurationKitAspect.createKitAspect(m_buildConfig->kit());
|
||||
widget = configurationKitAspectFactory.createKitAspect(m_buildConfig->kit());
|
||||
widget->setParent(dialog);
|
||||
widget->addToLayoutWithLabel(grid, dialog);
|
||||
grid.attachTo(dialog);
|
||||
|
||||
Reference in New Issue
Block a user