unbreak the overlay mask prefix name

svn path=/trunk/KDE/kdelibs/; revision=1033730
This commit is contained in:
Marco Martin 2009-10-10 21:51:53 +00:00
parent 75b7874569
commit d7021b22c2

View File

@ -354,8 +354,8 @@ QPixmap FrameSvgPrivate::alphaMask(const QString &maskType)
QString maskPrefix; QString maskPrefix;
if (q->hasElement("mask-" + maskType + prefix + "center")) { if (q->hasElement("mask-" + maskType + "-" + prefix + "center")) {
maskPrefix = "mask-" + maskType; maskPrefix = "mask-" + QString("-") + maskType;
} else if (q->hasElement("mask-" + prefix + "center")) { } else if (q->hasElement("mask-" + prefix + "center")) {
maskPrefix = "mask-"; maskPrefix = "mask-";
} }