[Kst] extragear/graphics/kst/kst

George Staikos staikos at kde.org
Fri Feb 3 14:06:56 CET 2006


SVN commit 505201 by staikos:

uninitialized variables


 M  +6 -0      kstviewarrow.cpp  


--- trunk/extragear/graphics/kst/kst/kstviewarrow.cpp #505200:505201
@@ -31,6 +31,8 @@
 
 KstViewArrow::KstViewArrow()
 : KstViewLine("Arrow") {
+  _hasFromArrow = false;
+  _hasToArrow = true;
   _fromArrowScaling = 1.0;
   _toArrowScaling = 1.0;
 }
@@ -38,6 +40,10 @@
 
 KstViewArrow::KstViewArrow(const QDomElement& e)
 : KstViewLine(e) {
+  _hasFromArrow = false;
+  _hasToArrow = true;
+  _fromArrowScaling = 1.0;
+  _toArrowScaling = 1.0;
   QDomNode n = e.firstChild();
   while (!n.isNull()) {
     QDomElement el = n.toElement(); 


More information about the Kst mailing list