[Kst] branches/work/kst/portto4/kst/src/libkst

Eli Fidler eli at staikos.net
Mon Nov 5 21:44:47 CET 2007


SVN commit 733200 by fidler:

move locking into DataMatrix::change()


 M  +1 -1      datamatrix.cpp  


--- branches/work/kst/portto4/kst/src/libkst/datamatrix.cpp #733199:733200
@@ -147,7 +147,7 @@
                         int xStart, int yStart,
                         int xNumSteps, int yNumSteps,
                         bool doAve, bool doSkip, int skip) {
-  Q_ASSERT(myLockStatus() == KstRWLock::WRITELOCKED);
+  KstWriteLocker l(this);
 
   commonConstructor(file, field, xStart, yStart, xNumSteps, yNumSteps, doAve, doSkip, skip);
 


More information about the Kst mailing list