]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/settings/navigation/navigationsettingspage.cpp
Build TerminalPanel also on Windows
[dolphin.git] / src / settings / navigation / navigationsettingspage.cpp
index f9c7a4dfcd89546417b24715fe45363d333bb63f..82015480a8b9b6f5ae06281fbc384b193b7a4fd5 100644 (file)
@@ -28,8 +28,8 @@
 
 NavigationSettingsPage::NavigationSettingsPage(QWidget* parent) :
     SettingsPageBase(parent),
-    m_openArchivesAsFolder(0),
-    m_autoExpandFolders(0)
+    m_openArchivesAsFolder(nullptr),
+    m_autoExpandFolders(nullptr)
 {
     QVBoxLayout* topLayout = new QVBoxLayout(this);
     QWidget* vBox = new QWidget(this);
@@ -43,11 +43,6 @@ NavigationSettingsPage::NavigationSettingsPage(QWidget* parent) :
     m_autoExpandFolders = new QCheckBox(i18nc("option:check", "Open folders during drag operations"), vBox);
     vBoxLayout->addWidget(m_autoExpandFolders);
 
-    // 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);
 
     loadSettings();