[Kst] extragear/graphics/kst/kst

Andrew Walker arwalker at sumusltd.com
Fri Dec 16 19:05:44 CET 2005


SVN commit 488991 by arwalker:

not necessary

 M  +1 -4      kst2dplot.cpp  


--- trunk/extragear/graphics/kst/kst/kst2dplot.cpp #488990:488991
@@ -2480,10 +2480,7 @@
       p.scale(1, -1);
       p.translate(0, d2i(-1.0 * Hy - Ly));
     }   
-    if (p.type() == KstPainter::P_EXPORT || p.type() == KstPainter::P_PRINT) {
-    } else {
-      p.setClipRect(int(Lx), int(Ly), int(Hx - Lx), int(Hy - Ly), QPainter::CoordPainter);
-    }    
+    p.setClipRect(int(Lx), int(Ly), int(Hx - Lx), int(Hy - Ly), QPainter::CoordPainter);  
     for (KstBaseCurveList::Iterator i = Curves.begin(); i != Curves.end(); ++i) {
       (*i)->paint(context);        
     }


More information about the Kst mailing list