[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Wed Apr 6 06:07:26 CEST 2005


CVS commit by staikos: 

that's just max()


  M +1 -5      kstvcurve.cpp   1.66


--- kdeextragear-2/kst/kst/kstvcurve.cpp  #1.65:1.66
@@ -239,9 +239,5 @@ KstObject::UpdateType KstVCurve::update(
   }
 
-  if (VX->length() > VY->length()) {
-    NS = VX->length();
-  } else {
-    NS = VY->length();
-  }
+  NS = QMAX(VX->length(), VY->length());
 
   return setLastUpdateResult(depUpdated ? UPDATE : NO_CHANGE);




More information about the Kst mailing list