[Kst] extragear/graphics/kst/kst

Barth Netterfield netterfield at astro.utoronto.ca
Fri Jan 27 00:23:19 CET 2006


SVN commit 502689 by netterfield:

BUG: 118675

Remove the unused parameters from the dialog.



 M  +0 -10     kstborderedviewobject.cpp  
 M  +10 -0     kstviewpicture.cpp  


--- trunk/extragear/graphics/kst/kst/kstborderedviewobject.cpp #502688:502689
@@ -191,16 +191,6 @@
     map.insert(QString("_kst_widgetType"), QString("QSpinBox"));
     map.insert(QString("_kst_label"), i18n("Border width"));
     map.insert(QString("minValue"), 0);
-  } else if (propertyName == "padding") {
-    map.insert(QString("_kst_widgetType"), QString("QSpinBox"));
-    map.insert(QString("_kst_label"), i18n("Padding"));
-    map.insert(QString("minValue"), 0);
-    map.insert(QString("enabled"), false);
-  } else if (propertyName == "margin") {
-    map.insert(QString("_kst_widgetType"), QString("QSpinBox"));
-    map.insert(QString("_kst_label"), i18n("Margin"));
-    map.insert(QString("minValue"), 0);
-    map.insert(QString("enabled"), false);
   }
   return map;
 }
--- trunk/extragear/graphics/kst/kst/kstviewpicture.cpp #502688:502689
@@ -249,6 +249,16 @@
     map.insert(QString("_kst_widgetType"), QString("QSpinBox"));
     map.insert(QString("_kst_label"), i18n("Refresh timer"));
   }
+  // FIXME: uncomment once these are supported.
+  /* else if (propertyName == "padding") {
+  map.insert(QString("_kst_widgetType"), QString("QSpinBox"));
+  map.insert(QString("_kst_label"), i18n("Padding"));
+  map.insert(QString("minValue"), 0);
+} else if (propertyName == "margin") {
+  map.insert(QString("_kst_widgetType"), QString("QSpinBox"));
+  map.insert(QString("_kst_label"), i18n("Margin"));
+  map.insert(QString("minValue"), 0);
+}*/
   return map;
 }
 


More information about the Kst mailing list