From 9fab210d65b133e3027259ec4882a3256111ffc5 Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Tue, 19 Jun 2007 22:06:05 +0000 Subject: [PATCH] whoops; this is the alpha channel not the pixmap itself =) svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=677791 --- animator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/animator.cpp b/animator.cpp index 3a4fc0331..3fa9375db 100644 --- a/animator.cpp +++ b/animator.cpp @@ -59,7 +59,7 @@ QPixmap Animator::elementDisappear(qreal frame, const QPixmap& pixmap) QPixmap alpha(pixmap.size()); { QPainter painter(&alpha); - painter.fillRect(alpha.rect(), Qt::transparent); + painter.fillRect(alpha.rect(), Qt::black); } QPixmap pix(pixmap.size()); pix.setAlphaChannel(alpha);