[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Thu Jun 17 19:21:37 CEST 2004


CVS commit by staikos: 

a tip from Maksim about an Xft bug


  M +0 -2      ksttoplevelview.cpp   1.58
  M +0 -1      kstviewobject.cpp   1.66


--- kdeextragear-2/kst/kst/ksttoplevelview.cpp  #1.57:1.58
@@ -75,5 +75,4 @@ void KstTopLevelView::save(QTextStream& 
 void KstTopLevelView::paint(QPainter& p) {
   QRegion clipRegion(geometry());
-  p.setClipping(true);
   p.setClipRegion(clipRegion);
   KstViewObject::paint(p);
@@ -106,5 +105,4 @@ void KstTopLevelView::paint(bool erase) 
       r = r.subtract(QRegion((*i)->geometry()));
     }
-    p.setClipping(true);
     p.setClipRegion(r);
     QBrush brush(_backgroundColor);

--- kdeextragear-2/kst/kst/kstviewobject.cpp  #1.65:1.66
@@ -192,5 +192,4 @@ void KstViewObject::paint(QPainter& p) {
   QRegion oldRegion = p.clipRegion();
   QRegion clipRegion;
-  p.setClipping(true);
   for (KstViewObjectList::Iterator i = _children.begin(); i != _children.end(); ++i) {
     // Compute the clip reg - this can't be stored if we want to keep the code





More information about the Kst mailing list