ProjectExplorer: Allow specifying deploy config widgets in the factory

Keep the generality of creating any widget, but also add a convenience
function handling the single special case that was ever used.

Change-Id: Iab4cbe62de04b9fcc6cb0bb305eaf9a48649d991
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2019-01-18 14:51:05 +01:00
parent d89ad246be
commit a8d2546dad
6 changed files with 31 additions and 36 deletions

View File

@@ -42,8 +42,6 @@ public:
static Core::Id genericDeployConfigurationId();
ProjectExplorer::NamedWidget *createConfigWidget() override;
template<class T> T *earlierBuildStep(const ProjectExplorer::BuildStep *laterBuildStep) const
{
const QList<ProjectExplorer::BuildStep *> &buildSteps = stepList()->steps();