fix hint-compose-over-border for different prefix

BUGFIX: everywhere else masks are called "mask-" % prefix % "center", do so here too
This commit is contained in:
Marco Martin 2011-05-22 18:03:12 +02:00
parent 7e88d41ebe
commit a916f9c7ed

View File

@ -1006,7 +1006,7 @@ void FrameSvgPrivate::updateSizes() const
}
frame->composeOverBorder = (q->hasElement(prefix % "hint-compose-over-border") &&
q->hasElement(prefix % "mask-center"));
q->hasElement("mask-" % prefix % "center"));
//since it's rectangular, topWidth and bottomWidth must be the same
//the ones that don't have a prefix is for retrocompatibility