[Kst] kdeextragear-2/kst/kst
George Staikos
staikos at kde.org
Mon Jul 26 02:19:28 CEST 2004
CVS commit by staikos:
usage counts were not correct for data vectors
M +2 -2 kstdatamanager_i.cpp 1.64
--- kdeextragear-2/kst/kst/kstdatamanager_i.cpp #1.63:1.64
@@ -123,5 +123,5 @@ void KstObjectItem::update(bool recursiv
KstRVectorPtr x = static_cast<KstRVector*>(px.data());
x->readLock();
- setText(2, QString::number(x->getUsage() - 3)); // caller has a ptr
+ setText(2, QString::number(x->getUsage() - 2)); // caller has a ptr
setText(3, QString::number(x->sampleCount()));
setText(4, i18n("%3: %4 [%1..%2]").arg(x->reqStartFrame())
@@ -129,5 +129,5 @@ void KstObjectItem::update(bool recursiv
.arg(x->filename())
.arg(x->getField()));
- _removable = x->getUsage() == 3;
+ _removable = x->getUsage() == 2;
x->readUnlock();
break;
More information about the Kst
mailing list