[Kst] extragear/graphics/kst/kst

Andrew Walker arwalker at sumusltd.com
Tue Dec 6 19:24:52 CET 2005


SVN commit 486073 by arwalker:

make sure we repaint the rectangle if its transparency has been changed

 M  +7 -4      kstviewbox.cpp  


--- trunk/extragear/graphics/kst/kst/kstviewbox.cpp #486072:486073
@@ -110,8 +110,8 @@
   }
   if (_xRound != crnd) {
     setDirty();
+    _xRound = crnd;
   }
-  _xRound = crnd;
 }
 
 
@@ -126,8 +126,8 @@
   }
   if (_yRound != crnd) {
     setDirty();
+    _yRound = crnd;
   }
-  _yRound = crnd;
 }
 
 
@@ -144,8 +144,8 @@
 void KstViewBox::setCornerStyle(Qt::PenJoinStyle style) {
   if (_cornerStyle != style) {
     setDirty();
+    _cornerStyle = style;
   }
-  _cornerStyle = style;
 }
 
 
@@ -160,7 +160,10 @@
 
 
 void KstViewBox::setTransparentFill(bool yes) {
-  _transparentFill = yes;
+  if (_transparentFill != yes) {
+    setDirty();
+    _transparentFill = yes;
+  }
 }
 
 


More information about the Kst mailing list