forked from qt-creator/qt-creator
Layouting: Make aspects operate on parent items, not LayoutBuilder
LayoutBuilder is meant to be an implementation detail nowadays. Change-Id: I777ab934d3d405873e819eeddd27428d8c652f9a Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -218,8 +218,10 @@ QWidget *RunConfiguration::createConfigurationWidget()
|
||||
{
|
||||
Layouting::Form form;
|
||||
for (BaseAspect *aspect : std::as_const(m_aspects)) {
|
||||
if (aspect->isVisible())
|
||||
if (aspect->isVisible()) {
|
||||
form.addItem(aspect);
|
||||
form.addItem(Layouting::br);
|
||||
}
|
||||
}
|
||||
form.addItem(Layouting::noMargin);
|
||||
auto widget = form.emerge();
|
||||
|
||||
Reference in New Issue
Block a user