[Kst] extragear/graphics/kst/src/libkstapp

Andrew Walker arwalker at sumusltd.com
Thu Jun 1 19:44:48 CEST 2006


SVN commit 547319 by arwalker:

initialize _trackContents in all constructors

 M  +3 -2      kstviewlegend.cpp  


--- trunk/extragear/graphics/kst/src/libkstapp/kstviewlegend.cpp #547318:547319
@@ -95,7 +95,8 @@
   _standardActions |= Delete | Edit;
   _legendMargin = 5;
   _parsedTitle = 0L;
-
+  _trackContents = true;
+  
   QStringList ctaglist;
 
   // read the properties
@@ -143,6 +144,7 @@
   _legendMargin = legend._legendMargin;
   _title = legend._title;
   _parsedTitle = 0L;
+  _trackContents = legend._trackContents;
   _curves = QDeepCopy<KstBaseCurveList>(legend._curves);
   
   reparseTitle();
@@ -153,7 +155,6 @@
 KstViewLegend::~KstViewLegend() {
   delete _parsedTitle;
   _parsedTitle = 0L;
-
 }
 
 


More information about the Kst mailing list