[Kst] [Bug 87048] update of fits to histogram does not update properly

netterfield at astro.utoronto.ca netterfield at astro.utoronto.ca
Fri Aug 13 06:00:07 CEST 2004


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
      
http://bugs.kde.org/show_bug.cgi?id=87048      
netterfield astro utoronto ca changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From netterfield astro utoronto ca  2004-08-13 06:00 -------
CVS commit by netterfield: 

fix for Bug 87048: update of fits to histogram does not update properly

update all non-kstvcurve objects before updating curves.

previous behavior was to update plugins before all other objects, which was
probably unintentional.

CCMAIL: 87048-done bugs kde org


  M +4 -4      updatethread.cpp   1.24


--- kdeextragear-2/kst/kst/updatethread.cpp  #1.23:1.24
 @ -22,5 +22,5  @
 #include <kdebug.h>
 
-#include "kstbasecurve.h"
+#include "kstvcurve.h"
 #include "kstdatacollection.h"
 #include "kstdoc.h"
 @ -205,7 +205,7  @ bool UpdateThread::doUpdates(bool force,
   {
     // Must make a copy to avoid deadlock
-    KstBaseCurveList cl;
+    KstVCurveList cl;
     KstDataObjectList ncl;
-    kstObjectSplitList<KstDataObject,KstBaseCurve>(KST::dataObjectList, cl, ncl);
+    kstObjectSplitList<KstDataObject,KstVCurve>(KST::dataObjectList, cl, ncl);
 
     // Update all data objects that are not curves
 @ -235,5 +235,5  @ bool UpdateThread::doUpdates(bool force,
     if (U == KstObject::UPDATE || force) {
       for (i = 0; i < cl.count(); ++i) {
-        KstBaseCurvePtr bcp = cl[i];
+        KstVCurvePtr bcp = cl[i];
         assert(bcp.data());
 #if UPDATEDEBUG > 0



More information about the Kst mailing list