diff --git a/src/plasma/framesvg.cpp b/src/plasma/framesvg.cpp index 488fa688d..78a4899b8 100644 --- a/src/plasma/framesvg.cpp +++ b/src/plasma/framesvg.cpp @@ -323,7 +323,7 @@ QRegion FrameSvg::mask() const QRegion result; if (!obj) { - obj = new QRegion(QBitmap(d->alphaMask().alphaChannel().createMaskFromColor(Qt::black))); + obj = new QRegion(QBitmap(d->alphaMask().mask())); result = *obj; d->frame->cachedMasks.insert(id, obj); }