- m_showSpaceInfo = new QCheckBox(i18nc("@option:check", "Show space information"), vBox);
-
- // Add a dummy widget with no restriction regarding
- // a vertical resizing. This assures that the dialog layout
- // is not stretched vertically.
- new QWidget(vBox);
-
- topLayout->addWidget(vBox);
+ QVBoxLayout* topLayout = new QVBoxLayout(this);
+ topLayout->addWidget(m_showZoomSlider);
+ topLayout->addWidget(m_showSpaceInfo);
+ topLayout->addStretch();