[Kst] extragear/graphics/kst/kst
    George Staikos 
    staikos at kde.org
       
    Wed Oct 26 05:58:43 CEST 2005
    
    
  
SVN commit 474330 by staikos:
no need to do so much
 M  +2 -5      kstviewobject.cpp  
--- trunk/extragear/graphics/kst/kst/kstviewobject.cpp #474329:474330
@@ -530,11 +530,8 @@
 void KstViewObject::internalAlignment(KstPaintType type, QPainter& p, QRect& plotRegion) {
   Q_UNUSED(type)
   Q_UNUSED(p)
-
-  plotRegion.setLeft(0);
-  plotRegion.setRight(0);
-  plotRegion.setTop(0);
-  plotRegion.setLeft(0);
+  static const QRect x(0,0,0,0);
+  plotRegion = x;
 }
 
 
    
    
More information about the Kst
mailing list