[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/plasma
From: Daniel Laidig <d.laidig () gmx ! de>
Date: 2010-04-14 20:53:45
Message-ID: 20100414205345.B7185AC898 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1114906 by laidig:
fading works fine if one of the pixmaps is empty
in this case, the emtpy pixmap behaves just like a transparent one
M +1 -1 paintutils.cpp
--- trunk/KDE/kdelibs/plasma/paintutils.cpp #1114905:1114906
@@ -177,7 +177,7 @@
QPixmap transition(const QPixmap &from, const QPixmap &to, qreal amount)
{
- if (from.isNull() || to.isNull()) {
+ if (from.isNull() && to.isNull()) {
return from;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic