[Kst] kdeextragear-2/kst/kst

Andrew Walker arwalker at sumusltd.com
Tue Dec 14 22:40:40 CET 2004


CVS commit by arwalker: 

Part of previous bug fix.


  M +5 -0      kstvcurve.cpp   1.54


--- kdeextragear-2/kst/kst/kstvcurve.cpp  #1.53:1.54
@@ -98,4 +98,6 @@ KstVCurve::KstVCurve(QDomElement &e)
       } else if (e.tagName() == "pointDensity") {
         PointDensity = e.text().toInt();
+      } else if (e.tagName() == "ignoreAutoScale") {
+        _ignoreAutoScale = true;
       }
     }
@@ -297,4 +299,7 @@ void KstVCurve::save(QTextStream &ts, co
     ts << l2 << "<barStyle>" << BarStyle << "</barStyle>" << endl;
   }
+  if (_ignoreAutoScale) {
+    ts << l2 << "<ignoreAutoScale/>" << endl;
+  }
   ts << indent << "</curve>" << endl;
 }





More information about the Kst mailing list