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:
parent
059a64583d
commit
9fab210d65
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user