diff --git a/examples/widgets/dialogs/standarddialogs/dialog.cpp b/examples/widgets/dialogs/standarddialogs/dialog.cpp index b28cf0f93445faeac807dc70210aa895c70b07fe..462ba211c0be52526555316b2b8bf5a16757beb7 100644 --- a/examples/widgets/dialogs/standarddialogs/dialog.cpp +++ b/examples/widgets/dialogs/standarddialogs/dialog.cpp @@ -103,7 +103,6 @@ Dialog::Dialog(QWidget *parent) QHBoxLayout *horizontalLayout = new QHBoxLayout(this); QGroupBox *groupBox = new QGroupBox(QGuiApplication::applicationDisplayName(), this); horizontalLayout->addWidget(groupBox); - horizontalLayout->addItem(new QSpacerItem(0, 0, QSizePolicy::MinimumExpanding, QSizePolicy::Ignored)); verticalLayout = new QVBoxLayout(groupBox); } else { verticalLayout = new QVBoxLayout(this);