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:
Aaron J. Seigo 2010-01-03 01:49:00 +00:00
parent 429b000af3
commit c2cda2375a

View File

@ -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-";
}