[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Fri Mar 11 21:13:05 CET 2005


On Wednesday 09 March 2005 22:42, Barth Netterfield wrote:
> --- kdeextragear-2/kst/kst/kstequation.h  #1.6:1.7
> @@ -50,6 +50,6 @@ class KstEquation : public KstDataObject
>
>      virtual QString equation() const { return _equation; }
> -    KstVectorPtr vX() { return _inputVectors[XVECTOR]; }
> -    KstVectorPtr vY() { return _outputVectors[OUTVECTOR]; }
> +    KstVectorPtr vX() { return *_xVector; }
> +    KstVectorPtr vY() { return *_yVector; }
>
>      virtual bool slaveVectorsUsed() const;

  Are _xVector and _yVector always guaranteed to point to the right place?

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


More information about the Kst mailing list