forked from qt-creator/qt-creator
Utils: Make the second parameter to LayoutBuilder::attach() an enum
More explicit and more potential options (e.g. "treat grid as form") than a bool. Change-Id: I89413efe30410160c38b0e524ba64288dde2332e Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -185,7 +185,6 @@ CodeStyleSelectorWidget::CodeStyleSelectorWidget(ICodeStylePreferencesFactory *f
|
||||
m_importButton = new QPushButton(tr("Import..."));
|
||||
m_importButton->setEnabled(false);
|
||||
|
||||
|
||||
using namespace Utils::Layouting;
|
||||
|
||||
Column {
|
||||
@@ -202,7 +201,7 @@ CodeStyleSelectorWidget::CodeStyleSelectorWidget(ICodeStylePreferencesFactory *f
|
||||
m_importButton
|
||||
},
|
||||
|
||||
}.attachTo(this, false);
|
||||
}.attachTo(this, WithoutMargins);
|
||||
|
||||
connect(m_delegateComboBox, &QComboBox::activated,
|
||||
this, &CodeStyleSelectorWidget::slotComboBoxActivated);
|
||||
|
||||
Reference in New Issue
Block a user