[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Wed Apr 6 06:01:25 CEST 2005


CVS commit by staikos: 

I don't think this is needed anymore since we force an update now


  M +2 -9      kstplugin.cpp   1.95


--- kdeextragear-2/kst/kst/kstplugin.cpp  #1.94:1.95
@@ -272,6 +272,4 @@ KstObject::UpdateType KstPlugin::update(
   const QValueList<Plugin::Data::IOValue>& otable = _plugin->data()._outputs;
   int itcnt = 0, vitcnt = 0, sitcnt = 0;
-  QDict<bool> doNew(17);
-  bool ignore = true; // work around Qt 3.1 issue
   bool doUpdate = force;
 
@@ -286,7 +284,4 @@ KstObject::UpdateType KstPlugin::update(
         return setLastUpdateResult(NO_CHANGE);
       }
-      if (_inputVectors[(*it)._name]->length() == _inputVectors[(*it)._name]->numNew()) {
-        doNew.insert((*it)._name, &ignore);
-      }
       KstVectorPtr iv = _inputVectors[(*it)._name];
       doUpdate = (UPDATE == iv->update(update_counter)) || doUpdate;
@@ -364,8 +359,6 @@ KstObject::UpdateType KstPlugin::update(
         KstVectorPtr vp = _outputVectors[(*it)._name];
         vectorRealloced(vp, _outVectors[vitcnt], _outArrayLens[vitcnt]);
-        if (doNew.find((*it)._name)) {
           vp->setDirty();
           vp->update(update_counter);
-        }
         vitcnt++;
       } else if ((*it)._type == Plugin::Data::IOValue::FloatType) {




More information about the Kst mailing list