forked from qt-creator/qt-creator
Simplify runconfiguration aspect addTo... interface
The parent widget is always given by the layout, no need to pass it as separate parameter. Change-Id: I9e7ed3a89eb63b78a549471d839060131737ff78 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -355,7 +355,7 @@ IosRunConfigurationWidget::IosRunConfigurationWidget(IosRunConfiguration *runCon
|
||||
m_deviceTypeLabel = new QLabel(IosRunConfiguration::tr("Device type:"), this);
|
||||
|
||||
auto layout = new QFormLayout(this);
|
||||
runConfiguration->extraAspect<ArgumentsAspect>()->addToMainConfigurationWidget(this, layout);
|
||||
runConfiguration->extraAspect<ArgumentsAspect>()->addToConfigurationLayout(layout);
|
||||
layout->addRow(IosRunConfiguration::tr("Executable:"), m_executableLineEdit);
|
||||
layout->addRow(m_deviceTypeLabel, m_deviceTypeComboBox);
|
||||
|
||||
|
Reference in New Issue
Block a user