consider the case of fallback as well
consider the case of fallback as well when we are searching for a texture reviewed by: Eike Hein <hein@kde.org> Change-Id: I1faa119f9b3486d21ebd07a294b5063a896d7af1
This commit is contained in:
parent
aa7b3ff773
commit
f5fb0dbc24
@ -403,7 +403,8 @@ Plasma::FrameSvg *FrameSvgItem::frameSvg() const
|
||||
|
||||
QSGNode *FrameSvgItem::updatePaintNode(QSGNode *oldNode, QQuickItem::UpdatePaintNodeData *)
|
||||
{
|
||||
if (!window() || !m_frameSvg || !m_frameSvg->hasElementPrefix(m_prefix)) {
|
||||
if (!window() || !m_frameSvg ||
|
||||
(!m_frameSvg->hasElementPrefix(m_frameSvg->actualPrefix()) && !m_frameSvg->hasElementPrefix(m_prefix))) {
|
||||
delete oldNode;
|
||||
return Q_NULLPTR;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user