[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Sat Oct 16 21:46:46 CEST 2004


On Friday 15 October 2004 21:38, Barth Netterfield wrote:
> CVS commit by netterfield:
>
> ...in which:
>   Curves learn how to save bar status and type.
>   Curves get a little more efficient (but still B-compat) in saving curves.
>   An unused variable gets deleted.
>
> --- kdeextragear-2/kst/kst/kstbasecurve.cpp  #1.17:1.18
> @@ -39,7 +39,4 @@ void KstBaseCurve::commonConstructor() {
>    MaxX = MinX = MeanX = MaxY = MinY = MeanY = NS = 0;
>    MinPosX = MinPosY = 0;
> -  NumUsed = 0;
> -  HasPoints = false;
> -  HasLines = true;
>    Color = in_color;
>    NS = 0;
>
> --- kdeextragear-2/kst/kst/kstbasecurve.h  #1.28:1.29
> @@ -114,6 +114,4 @@ protected:
>    int NS;
>
> -  int NumUsed;
> -
>    bool HasPoints;
>    bool HasLines;

   Might be a good idea to either remove those two variables from the base 
class, or keep them initialized there too.  We could end up with future 
inheritence that doesn't initialize them.

-- 
George Staikos
KDE Developer				http://www.kde.org/
Staikos Computing Services Inc.		http://www.staikos.net/



More information about the Kst mailing list