[Kst] kdeextragear-2/kst/kst
George Staikos
staikos at kde.org
Fri Oct 1 16:51:08 CEST 2004
CVS commit by staikos:
another missing lock
M +2 -0 kstdatacollection-gui.cpp 1.7
--- kdeextragear-2/kst/kst/kstdatacollection-gui.cpp #1.6:1.7
@@ -73,4 +73,5 @@ int KST::vectorToFile(KstVectorPtr v, QF
#define BSIZE 128
char buf[BSIZE];
+ v->readLock();
int _size = v->length();
double *_v = v->value();
@@ -94,4 +95,5 @@ int KST::vectorToFile(KstVectorPtr v, QF
}
kpd->progressBar()->setProgress(_size);
+ v->readUnlock();
delete kpd;
More information about the Kst
mailing list