forked from qt-creator/qt-creator
ProjectExplorer: Use a plain QWidget base for deploy config widgets
The only extra feature of a NamedWidget is not used. Change-Id: Ia85e8e8fba3a3fb60d3f28709c790efea0a30de0 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -67,7 +67,7 @@ const BuildStepList *DeployConfiguration::stepList() const
|
||||
return &m_stepList;
|
||||
}
|
||||
|
||||
NamedWidget *DeployConfiguration::createConfigWidget() const
|
||||
QWidget *DeployConfiguration::createConfigWidget() const
|
||||
{
|
||||
if (!m_configWidgetCreator)
|
||||
return nullptr;
|
||||
@@ -157,7 +157,7 @@ bool DeployConfigurationFactory::canHandle(Target *target) const
|
||||
return true;
|
||||
}
|
||||
|
||||
void DeployConfigurationFactory::setConfigWidgetCreator(const std::function<NamedWidget *(Target *)> &configWidgetCreator)
|
||||
void DeployConfigurationFactory::setConfigWidgetCreator(const std::function<QWidget *(Target *)> &configWidgetCreator)
|
||||
{
|
||||
m_configWidgetCreator = configWidgetCreator;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user