[Kst] extragear/graphics/kst/kst

George Staikos staikos at kde.org
Tue Nov 22 23:48:10 CET 2005


SVN commit 482437 by staikos:

uninit variable


 M  +1 -0      kstplotlabel.cpp  
 M  +2 -1      kstviewlabel.cpp  


--- trunk/extragear/graphics/kst/kst/kstplotlabel.cpp #482436:482437
@@ -49,6 +49,7 @@
 void KstPlotLabel::commonConstructor(const QString& txt, const QString& font, int fontSize, KstLJustifyType justify, float rotation) {
   _txt = txt;
   _interpret = true;
+  _replace = true;
   _rotation = rotation;
   _sinr = fabs(sin(_rotation * M_PI / 180.0));
   _cosr = fabs(cos(_rotation * M_PI / 180.0));
--- trunk/extragear/graphics/kst/kst/kstviewlabel.cpp #482436:482437
@@ -53,6 +53,7 @@
   _autoResize = false; // avoid madness
   _txt = txt;
   _interpret = true;
+  _replace = true;
   _rotation = rotation;
   _justify = justify;
   _fontName = KstApp::inst()->defaultFont();
@@ -70,13 +71,13 @@
 
 KstViewLabel::KstViewLabel(const QDomElement& e) 
 : KstBorderedViewObject(e) {
-  
   // some defaults and invariants
   _type = "Label";
   _dataPrecision = 8;
   _autoResize = false; // avoid madness
   _txt = "";
   _interpret = true;
+  _replace = true;
   _rotation = 0.0;
   _justify = 0L;
   _fontName = KstApp::inst()->defaultFont();


More information about the Kst mailing list