Getting rid of warning, that a widget has already a layout.
This commit is contained in:
@ -19,7 +19,7 @@ void EditItemDialog::createContent() {
|
|||||||
setWindowTitle(tr("Edit item..."));
|
setWindowTitle(tr("Edit item..."));
|
||||||
|
|
||||||
m_contentContainer = new QWidget(this);
|
m_contentContainer = new QWidget(this);
|
||||||
QHBoxLayout* innerLayout = new QHBoxLayout(this);
|
QHBoxLayout* innerLayout = new QHBoxLayout();
|
||||||
m_contentContainer->setLayout(innerLayout);
|
m_contentContainer->setLayout(innerLayout);
|
||||||
|
|
||||||
m_detailMapper = new ItemDetailMapper(this);
|
m_detailMapper = new ItemDetailMapper(this);
|
||||||
|
|||||||
Reference in New Issue
Block a user