[Kst] kdeextragear-2/kst/kst
George Staikos
staikos at kde.org
Tue Mar 29 07:47:14 CEST 2005
CVS commit by staikos:
set dirty flag when it's modified. we can't set the dirty flag on changes to
contents though. We have two choices:
1) manually set it when modifying a vector
2) always set dirty whenever value() is called
Right now I choose 1
M +2 -0 kstvector.cpp 1.106
--- kdeextragear-2/kst/kst/kstvector.cpp #1.105:1.106
@@ -234,4 +234,5 @@ double* KstVector::realloced(double *mem
void KstVector::zero() {
+ setDirty();
_ns_min = _ns_max = 0.0;
for (int i = 0; i < _size; i++) {
@@ -266,4 +267,5 @@ bool KstVector::resize(int sz, bool rein
}
+ setDirty();
return true;
}
More information about the Kst
mailing list