[Kst] branches/work/kst/portto4/kst/src/libkstmath

Adam Treat treat at kde.org
Tue Feb 20 19:40:27 CET 2007


SVN commit 635714 by treat:

* kMax to qMax


 M  +1 -1      kstcurvepointsymbol.cpp  
 M  +1 -1      kstvcurve.cpp  


--- branches/work/kst/portto4/kst/src/libkstmath/kstcurvepointsymbol.cpp #635713:635714
@@ -138,7 +138,7 @@
 
 int dim(QPainter *p) {
   QRect r = p->window();
-  return kMax(1, ((r.width() + r.height()) / 400));
+  return qMax(1, ((r.width() + r.height()) / 400));
 }
 
 }
--- branches/work/kst/portto4/kst/src/libkstmath/kstvcurve.cpp #635713:635714
@@ -269,7 +269,7 @@
     MinPosY = 0;
   }
 
-  NS = kMax(cxV->length(), cyV->length());
+  NS = qMax(cxV->length(), cyV->length());
 
   unlockInputsAndOutputs();
 


More information about the Kst mailing list