]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/kitemviews/kitemliststyleoption.cpp
Re-implement dropping of files on folders in the Places Panel.
[dolphin.git] / src / kitemviews / kitemliststyleoption.cpp
index 83af312022735cab0a0c99e86f19f535a8e32c7f..ac2587962e847791788e55cdbdf78439022abf25 100644 (file)
@@ -26,8 +26,12 @@ KItemListStyleOption::KItemListStyleOption() :
     font(),
     fontMetrics(QFont()),
     palette(),
-    margin(0),
-    iconSize(KIconLoader::SizeMedium)
+    padding(-1),
+    horizontalMargin(-1),
+    verticalMargin(-1),
+    iconSize(-1),
+    extendedSelectionRegion(false),
+    maxTextSize()
 {
 }
 
@@ -36,8 +40,12 @@ KItemListStyleOption::KItemListStyleOption(const KItemListStyleOption& other) :
     font(other.font),
     fontMetrics(other.fontMetrics),
     palette(other.palette),
-    margin(other.margin),
-    iconSize(other.iconSize)
+    padding(other.padding),
+    horizontalMargin(other.horizontalMargin),
+    verticalMargin(other.verticalMargin),
+    iconSize(other.iconSize),
+    extendedSelectionRegion(other.extendedSelectionRegion),
+    maxTextSize(other.maxTextSize)
 {
 }