Curve Selector : Remove this as parent to layout to avoid warning of duplicate layouts

This commit is contained in:
Magne Sjaastad 2017-11-27 07:56:21 +01:00
parent 20fae240b3
commit 4299a2ba5e

View File

@ -50,7 +50,7 @@ RiuSummaryCurveDefSelectionDialog::RiuSummaryCurveDefSelectionDialog(QWidget* pa
connect(buttonBox, SIGNAL(accepted()), this, SLOT(accept()));
connect(buttonBox, SIGNAL(rejected()), this, SLOT(reject()));
QHBoxLayout* labelLayout = new QHBoxLayout(this);
QHBoxLayout* labelLayout = new QHBoxLayout;
labelLayout->addStretch(1);
labelLayout->addWidget(m_label);
labelLayout->addWidget(buttonBox);