]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/settings/general/generalsettingspage.cpp
[Details mode] Allow to fill the column size of directories with actual size
[dolphin.git] / src / settings / general / generalsettingspage.cpp
index d8f61ef90b17f00401bd551eea2d1f88c90c807a..6e0a1d4743c16bc5e623b410871aa97de5657f93 100644 (file)
@@ -23,7 +23,6 @@
 #include "behaviorsettingspage.h"
 #include "confirmationssettingspage.h"
 #include "previewssettingspage.h"
-#include <settings/settingspagebase.h>
 #include "statusbarsettingspage.h"
 
 #include <KLocalizedString>
@@ -36,7 +35,7 @@ GeneralSettingsPage::GeneralSettingsPage(const QUrl& url, QWidget* parent) :
     m_pages()
 {
     QVBoxLayout* topLayout = new QVBoxLayout(this);
-    topLayout->setMargin(0);
+    topLayout->setContentsMargins(0, 0, 0, 0);
 
     QTabWidget* tabWidget = new QTabWidget(this);
 
@@ -65,7 +64,7 @@ GeneralSettingsPage::GeneralSettingsPage(const QUrl& url, QWidget* parent) :
     m_pages.append(confirmationsPage);
     m_pages.append(statusBarPage);
 
-    topLayout->addWidget(tabWidget, 0, 0);
+    topLayout->addWidget(tabWidget, 0, {});
 }
 
 GeneralSettingsPage::~GeneralSettingsPage()