[Kst] extragear/graphics/kst

George Staikos staikos at kde.org
Thu Dec 1 22:39:27 CET 2005


SVN commit 484771 by staikos:

fix non-alpha pictures


 M  +0 -1      devel-docs/PlotUIFixes  
 M  +1 -1      kst/kstviewpicture.cpp  


--- trunk/extragear/graphics/kst/devel-docs/PlotUIFixes #484770:484771
@@ -27,7 +27,6 @@
   object, even if the the ellipse is above the other object.
 - Selection points are always clipped even if the object lies below.
 - Flicker!!
-- Picture is broken for non-alpha images
 - if 'cancel' is selected from the viewobjectdialogs when creating a new object,
   the object is not deleted, and hangs around as an invisible, uneditable ghost.
 
--- trunk/extragear/graphics/kst/kst/kstviewpicture.cpp #484770:484771
@@ -93,7 +93,7 @@
         if (_iCache.hasAlphaBuffer()) {
           p.drawImage(contentsRect().topLeft(), _iCache.createAlphaMask());
         } else {
-          p.setBrush(Qt::color0);
+          p.setBrush(Qt::color1);
           p.drawRect(contentsRect());
         }
       } else {


More information about the Kst mailing list