[webkit-reviews] (no subject)

Brian Campbell lambda at mac.com
Tue Jun 7 17:22:46 PDT 2005


This fixes a bug in which min and max vals on sliders that are below  
0 or above 100 don't work properly. The slider appears and you can  
drag the knob, but the knob stops dragging at 0 and 100.

This was reported in Radar 4098892.

Index: kwq/KWQSlider.mm
===================================================================
RCS file: /cvs/root/WebCore/kwq/KWQSlider.mm,v
retrieving revision 1.8
diff -u -r1.8 KWQSlider.mm
--- KWQSlider.mm        2005/03/03 00:58:35     1.8
+++ KWQSlider.mm        2005/06/08 00:18:36
@@ -260,6 +260,7 @@
      KWQSlider* slider = (KWQSlider*)getView();
      [slider setMinValue: v];
+    m_minVal = v;
}
void QSlider::setMaxValue(double v)
@@ -268,6 +269,7 @@
      KWQSlider* slider = (KWQSlider*)getView();
      [slider setMaxValue: v];
+    m_maxVal = v;
}




More information about the webkit-reviews mailing list