this looks like what it was meant to be doing, but perhaps there's some odd sg theme thing at play here? Marco, can you check this? thanks
CCMAIL:notmart@gmail.com svn path=/trunk/KDE/kdelibs/; revision=1069238
This commit is contained in:
parent
429b000af3
commit
c2cda2375a
@ -355,11 +355,10 @@ void FrameSvg::paintFrame(QPainter *painter, const QPointF &pos)
|
||||
QPixmap FrameSvgPrivate::alphaMask(const QString &maskType)
|
||||
{
|
||||
FrameData *frame = frames[prefix];
|
||||
|
||||
QString maskPrefix;
|
||||
|
||||
if (q->hasElement("mask-" + maskType + '-' + prefix + "center")) {
|
||||
maskPrefix = "mask-" + QString("-") + maskType;
|
||||
if (!maskType.isEmpty() && q->hasElement("mask-" + maskType + '-' + prefix + "center")) {
|
||||
maskPrefix = "mask-" + maskType + '-';
|
||||
} else if (q->hasElement("mask-" + prefix + "center")) {
|
||||
maskPrefix = "mask-";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user