unbreak the overlay mask prefix name
svn path=/trunk/KDE/kdelibs/; revision=1033730
This commit is contained in:
parent
75b7874569
commit
d7021b22c2
@ -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-";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user