[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Wed Jul 7 02:30:12 CEST 2004


CVS commit by staikos: 

Only read back from the plugin if it was successful - any regressions from this?


  M +13 -15    kstplugin.cpp   1.52


--- kdeextragear-2/kst/kst/kstplugin.cpp  #1.51:1.52
@@ -225,8 +225,5 @@ KstObject::UpdateType KstPlugin::update(
   }
 
-  if (rc != 0) {
-    // Error
-  }
-
+  if (rc == 0) {
   itcnt = 0;
   vitcnt = 0;
@@ -242,4 +239,5 @@ KstObject::UpdateType KstPlugin::update(
     }
   }
+  }
 
   CLEANUP();





More information about the Kst mailing list