From d7021b22c298d7d3ff9f38ad79db35ffe6adb750 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Sat, 10 Oct 2009 21:51:53 +0000 Subject: [PATCH] unbreak the overlay mask prefix name svn path=/trunk/KDE/kdelibs/; revision=1033730 --- framesvg.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framesvg.cpp b/framesvg.cpp index 4f35be55e..49397236a 100644 --- a/framesvg.cpp +++ b/framesvg.cpp @@ -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-"; }