forked from qt-creator/qt-creator
Layouting: Handle attach types via setter
Change-Id: I862f5cd109db3582b4f029787ec0cded2da39ce6 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -101,9 +101,10 @@ GitLabServerWidget::GitLabServerWidget(Mode m, QWidget *parent)
|
||||
m_description,
|
||||
m_token,
|
||||
m_port,
|
||||
m_secure
|
||||
m_secure,
|
||||
m == Edit ? normalMargin : noMargin
|
||||
},
|
||||
}.attachTo(this, m == Edit ? WithMargins : WithoutMargins);
|
||||
}.attachTo(this);
|
||||
}
|
||||
|
||||
GitLabServer GitLabServerWidget::gitLabServer() const
|
||||
|
||||
Reference in New Issue
Block a user