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;
|
||||
|
||||
if (q->hasElement("mask-" + maskType + prefix + "center")) {
|
||||
maskPrefix = "mask-" + maskType;
|
||||
if (q->hasElement("mask-" + maskType + "-" + prefix + "center")) {
|
||||
maskPrefix = "mask-" + QString("-") + maskType;
|
||||
} else if (q->hasElement("mask-" + prefix + "center")) {
|
||||
maskPrefix = "mask-";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user