whoops; this is the alpha channel not the pixmap itself =)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=677791
This commit is contained in:
Aaron J. Seigo 2007-06-19 22:06:05 +00:00
parent 059a64583d
commit 9fab210d65

View File

@ -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);