[Kst] branches/work/kst/portto4/kst/src/libkst

George Staikos staikos at kde.org
Wed Jul 18 07:57:22 CEST 2007


SVN commit 689375 by staikos:

don't save slaves


 M  +3 -0      kstscalar.cpp  
 M  +3 -0      kstvector.cpp  


--- branches/work/kst/portto4/kst/src/libkst/kstscalar.cpp #689374:689375
@@ -120,6 +120,9 @@
 
 
 void KstScalar::save(QXmlStreamWriter &s) {
+  if (provider()) {
+    return;
+  }
   s.writeStartElement("scalar");
   s.writeAttribute("tag", tag().tagString());
   if (_orphan) {
--- branches/work/kst/portto4/kst/src/libkst/kstvector.cpp #689374:689375
@@ -581,6 +581,9 @@
 
 
 void KstVector::save(QXmlStreamWriter &s) {
+  if (provider()) {
+    return;
+  }
   s.writeStartElement("vector");
   s.writeAttribute("tag", tag().tagString());
   if (_saveData) {


More information about the Kst mailing list