[Kst] [Bug 118675] Bordered view object properties have no effect

netterfield at astro.utoronto.ca netterfield at astro.utoronto.ca
Fri Jan 27 00:23:25 CET 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=118675         
netterfield astro utoronto ca changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From netterfield astro utoronto ca  2006-01-27 00:23 -------
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