[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Tue Jun 8 21:56:55 CEST 2004


CVS commit by staikos: 

found out why the coordinates are wrong :)


  M +3 -0      kst2dplot.cpp   1.64


--- kdeextragear-2/kst/kst/kst2dplot.cpp  #1.63:1.64
@@ -233,4 +233,6 @@ void Kst2DPlot::commonConstructor(const 
 
   labelList.setAutoDelete(true);
+
+  setpixrect(_geom.x(), _geom.y());
 }
 
@@ -842,4 +844,5 @@ void Kst2DPlot::resize(const QSize& size
 
 void Kst2DPlot::paint(QPainter& p) {
+  setpixrect(_geom.x(), _geom.y());
   _buffer.paintInto(p, geometry());
   KstPlotBase::paint(p); // hmmm we might want some of this behind, no?





More information about the Kst mailing list