FrameSvgPrivate::generateBackground: generate background also if reqp != p
Summary: d8a1a9eb084b19e552c789244267f7346e1b27a8 changed the condition from hasElementPrefix(q->prefix()) to hasElementPrefix(frame->requestedPrefix) but it is not clear why, as the background is generated from the prefix data & the requestedPrefix is no-where in effect. As a result sometimes the background is not rendered for a given not-existing requestedPrefix which was mapped to an empty prefix instead. Reviewers: #plasma, mart Reviewed By: #plasma, mart Subscribers: kde-frameworks-devel Tags: #frameworks Differential Revision: https://phabricator.kde.org/D21175
This commit is contained in:
parent
1bc1994dfe
commit
6af447a848
@ -452,7 +452,7 @@ QSharedPointer<FrameData> FrameSvgPrivate::lookupOrCreateMaskFrame(const QShared
|
||||
|
||||
void FrameSvgPrivate::generateBackground(const QSharedPointer<FrameData> &frame)
|
||||
{
|
||||
if (!frame->cachedBackground.isNull() || !q->hasElementPrefix(frame->requestedPrefix)) {
|
||||
if (!frame->cachedBackground.isNull() || !q->hasElementPrefix(frame->prefix)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user