]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/panels/places/placespanel.cpp
Make global view properties the default setting
[dolphin.git] / src / panels / places / placespanel.cpp
index 93fba716870312ca8049c3cec615d004ff2bd2b8..d0dbcce88b7fb2224e09c2c5adea904eb04424a3 100644 (file)
@@ -139,7 +139,7 @@ void PlacesPanel::showEvent(QShowEvent* event)
         container->setEnabledFrame(false);
 
         QVBoxLayout* layout = new QVBoxLayout(this);
-        layout->setMargin(0);
+        layout->setContentsMargins(0, 0, 0, 0);
         layout->addWidget(container);
 
         selectClosestItem();