[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Thu Oct 7 06:45:09 CEST 2004


CVS commit by staikos: 

fix an error condition crash


  M +6 -2      kstrvector.cpp   1.63


--- kdeextragear-2/kst/kst/kstrvector.cpp  #1.62:1.63
@@ -376,7 +376,11 @@ KstObject::UpdateType KstRVector::update
   }
 
+  if (_file) {
   _file->writeLock();
+  }
   KstObject::UpdateType rc = doUpdate();
+  if (_file) {
   _file->writeUnlock();
+  }
   return rc;
 }





More information about the Kst mailing list