[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    extragear/graphics/kst/src/libkstmath
From:       George Staikos <staikos () kde ! org>
Date:       2006-07-11 23:01:15
Message-ID: 1152658875.547705.4732.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 561358 by staikos:

Fix locking problem: don't lock the provider!


 M  +6 -6      kstplugin.cpp  


--- trunk/extragear/graphics/kst/src/libkstmath/kstplugin.cpp #561357:561358
@@ -570,20 +570,20 @@
       } else {
         v = new KstVector(QString::null, 0, this, false);
       }
-      v->writeLock();
+      v->KstObject::writeLock();
       _outputVectors.insert((*it)._name, v);
-      _outArrayCnt++;
+      ++_outArrayCnt;
       KST::addVectorToList(v);
     } else if ((*it)._type == Plugin::Data::IOValue::FloatType) {
       KstScalarPtr s = new KstScalar(QString::null, this);
-      s->writeLock();
+      s->KstObject::writeLock();
       _outputScalars.insert((*it)._name, s);
-      _outScalarCnt++;
+      ++_outScalarCnt;
     } else if ((*it)._type == Plugin::Data::IOValue::StringType) {
       KstStringPtr s = new KstString(QString::null, this);
-      s->writeLock();
+      s->KstObject::writeLock();
       _outputStrings.insert((*it)._name, s);
-      _outStringCnt++;
+      ++_outStringCnt;
     }
   }
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic