forked from qt-creator/qt-creator
Android/iOS: Don't add markup to display names of build steps
The display name is continuously read and written from/to settings. Let's not add markup each occurrence, it accumulates. BuildStep::summaryText has the logic to add the markup for the UI. Change-Id: Ifbb74ccb8d2f0adcebbd69cc012a5b1376154934 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -494,9 +494,6 @@ QWidget *AndroidDeployQtStep::createConfigWidget()
|
|||||||
{
|
{
|
||||||
auto widget = new QWidget;
|
auto widget = new QWidget;
|
||||||
|
|
||||||
setDisplayName(QString("<b>%1</b>").arg(displayName()));
|
|
||||||
setSummaryText(displayName());
|
|
||||||
|
|
||||||
auto resetDefaultDevices = new QPushButton(widget);
|
auto resetDefaultDevices = new QPushButton(widget);
|
||||||
resetDefaultDevices->setText(tr("Reset Default Deployment Devices"));
|
resetDefaultDevices->setText(tr("Reset Default Deployment Devices"));
|
||||||
|
|
||||||
|
|||||||
@@ -235,8 +235,6 @@ QWidget *IosDeployStep::createConfigWidget()
|
|||||||
auto widget = new QWidget;
|
auto widget = new QWidget;
|
||||||
|
|
||||||
widget->setObjectName("IosDeployStepWidget");
|
widget->setObjectName("IosDeployStepWidget");
|
||||||
setDisplayName(QString("<b>%1</b>").arg(displayName()));
|
|
||||||
setSummaryText(displayName());
|
|
||||||
|
|
||||||
connect(this, &ProjectConfiguration::displayNameChanged,
|
connect(this, &ProjectConfiguration::displayNameChanged,
|
||||||
this, &BuildStep::updateSummary);
|
this, &BuildStep::updateSummary);
|
||||||
|
|||||||
Reference in New Issue
Block a user