[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Fri Jan 16 16:15:48 CET 2004


CVS commit by staikos: 

intresting way to get an empty label


  M +4 -4      kstplot.cpp   1.33


--- kdeextragear-2/kst/kst/kstplot.cpp  #1.32:1.33
@@ -222,17 +222,17 @@ inline void KstPlot::commonConstructor(c
   pushScale();
 
-  XLabel = new KstLabel("\0");
+  XLabel = new KstLabel;
   XLabel->setJustification(CxBy);
   XLabel->setRotation(0);
 
-  YLabel = new KstLabel("\0");
+  YLabel = new KstLabel;
   YLabel->setJustification(CxTy);
   YLabel->setRotation(270);
 
-  TopLabel = new KstLabel("\0");
+  TopLabel = new KstLabel;
   TopLabel->setJustification(LxBy);
   TopLabel->setRotation(0);
 
-  TickLabel = new KstLabel("\0");
+  TickLabel = new KstLabel;
   TickLabel->setRotation(0);
   TickLabel->setDoScalarReplacement(false);





More information about the Kst mailing list