[Kst] kdeextragear-2/kst/kst
Andrew Walker
arwalker at sumusltd.com
Wed Apr 14 18:29:54 CEST 2004
CVS commit by arwalker:
Plugin objects are updated as part of the ncl list now the underlying problem is fixed.
M +1 -21 updatethread.cpp 1.12
--- kdeextragear-2/kst/kst/updatethread.cpp #1.11:1.12
@@ -171,28 +171,8 @@ bool UpdateThread::doUpdates(bool force)
{
// Must make a copy to avoid deadlock
- KstPluginList pluginList = kstObjectSubList<KstDataObject,KstPlugin>(KST::dataObjectList);
KstBaseCurveList cl;
KstDataObjectList ncl;
kstObjectSplitList<KstDataObject,KstBaseCurve>(KST::dataObjectList, cl, ncl);
- // Update all data objects that are plugins
- for (i = 0; i < pluginList.count(); ++i) {
- KstPluginPtr pp = pluginList[i];
- assert(pp.data());
-#if UPDATEDEBUG > 0
- kdDebug() << "updating plugin: " << (void*)pp << " - " << pp->tagName() << endl;
-#endif
- pp->writeLock();
- pp->update(_updateCounter);
- pp->writeUnlock();
-
- if (_done || _paused) {
-#if UPDATEDEBUG > 1
- kdDebug() << "4 Returning from scan with U=" << (int)U << endl;
-#endif
- return U == KstObject::UPDATE;
- }
- }
-
// Update all data objects that are not curves
for (i = 0; i < ncl.count(); ++i) {
More information about the Kst
mailing list