[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Thu Sep 30 17:28:31 CEST 2004


CVS commit by staikos: 

trying to fix an update bug for mamd


  M +5 -2      kstrvector.cpp   1.60


--- kdeextragear-2/kst/kst/kstrvector.cpp  #1.59:1.60
@@ -349,4 +349,5 @@ KstObject::UpdateType KstRVector::doUpda
   int ave_nread;
   int new_f0, new_nf, tmp_fn;
+  KstObject::UpdateType rc = NO_CHANGE;
 
   checkIntegrity();
@@ -497,6 +498,8 @@ KstObject::UpdateType KstRVector::doUpda
   }
 
-  // FIXME: does this make sense?
-  return KstVector::update(-1);
+  rc = (_dirty ? UPDATE : NO_CHANGE);
+  //kdDebug() << "dirty? " << (_dirty ? "yes" : "no") << endl;
+  KstVector::update(-1);
+  return rc;
 }
 





More information about the Kst mailing list