[Kst] branches/work/kst/viewupdates/kst/src/libkstapp

George Staikos staikos at kde.org
Sun May 28 19:59:54 CEST 2006


SVN commit 545984 by staikos:

don't purge events


 M  +1 -1      kstdoc.cpp  


--- branches/work/kst/viewupdates/kst/src/libkstapp/kstdoc.cpp #545983:545984
@@ -962,7 +962,7 @@
     KST::dataObjectList.lock().writeLock();
     for (KstDataObjectList::Iterator it = KST::dataObjectList.begin(); it != KST::dataObjectList.end(); ++it) {
       //kstdDebug() << "OBJECT: " << (*it)->tagName() << " USAGE: " << (*it)->getUsage() << endl;
-      if ((*it)->getUsage() == 0) {
+      if ((*it)->getUsage() == 0 && !kst_cast<EventMonitorEntry>(*it)) {
         //kstdDebug() << "    -> REMOVED" << endl;
         KstDataObjectList::Iterator byebye = it;
         --it;


More information about the Kst mailing list