Getting rid of warning, that a widget has already a layout.

This commit is contained in:
2026-01-19 14:43:07 +01:00
parent a8bf5b4032
commit a966b26185

View File

@ -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);