]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/settings/general/generalsettingspage.cpp
Make global view properties the default setting
[dolphin.git] / src / settings / general / generalsettingspage.cpp
index f9a2c67d0b0d6971efaa6fe93b6d34ae7722c11b..daa74aff1dd1e2d7f1231c99922a72aba7df0592 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);