[Kst] kdeextragear-2/kst/kst
George Staikos
staikos at kde.org
Tue Apr 5 20:27:38 CEST 2005
CVS commit by staikos:
decision is yes, scalars and strings are important
M +6 -1 kstdataobject.cpp 1.43
--- kdeextragear-2/kst/kst/kstdataobject.cpp #1.42:1.43
@@ -289,8 +289,13 @@ bool KstDataObject::deleteDependents() {
bool user = (*i)->uses(this);
if (!user) {
- // FIXME: should we care about scalars and strings? Needs policy decision
for (KstVectorMap::Iterator j = _outputVectors.begin(); !user && j != _outputVectors.end(); ++j) {
user = (*i)->uses(j.data().data());
}
+ for (KstScalarMap::Iterator j = _outputScalars.begin(); !user && j != _outputScalars.end(); ++j) {
+ user = (*i)->uses(j.data().data());
+ }
+ for (KstStringMap::Iterator j = _outputStrings.begin(); !user && j != _outputStrings.end(); ++j) {
+ user = (*i)->uses(j.data().data());
+ }
}
if (user) {
More information about the Kst
mailing list