forked from qt-creator/qt-creator
iOS: Simplify IosDeployStep config widget setup
There's nothing special here. Change-Id: Ifce935a7c6e8dd6d745d27353cde3f2c370d0abc Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
#include "iostoolhandler.h"
|
||||
|
||||
#include <coreplugin/messagemanager.h>
|
||||
|
||||
#include <projectexplorer/buildconfiguration.h>
|
||||
#include <projectexplorer/projectexplorerconstants.h>
|
||||
#include <projectexplorer/target.h>
|
||||
@@ -197,7 +198,16 @@ void IosDeployStep::handleErrorMsg(IosToolHandler *handler, const QString &msg)
|
||||
|
||||
BuildStepConfigWidget *IosDeployStep::createConfigWidget()
|
||||
{
|
||||
return new IosDeployStepWidget(this);
|
||||
auto widget = new BuildStepConfigWidget(this);
|
||||
|
||||
widget->setObjectName("IosDeployStepWidget");
|
||||
widget->setDisplayName(QString("<b>%1</b>").arg(displayName()));
|
||||
widget->setSummaryText(widget->displayName());
|
||||
|
||||
connect(this, &ProjectConfiguration::displayNameChanged,
|
||||
widget, &BuildStepConfigWidget::updateSummary);
|
||||
|
||||
return widget;
|
||||
}
|
||||
|
||||
bool IosDeployStep::fromMap(const QVariantMap &map)
|
||||
|
||||
Reference in New Issue
Block a user