scene: Fix a typo in WindowItem::updateShadowItem()
Hopefully it's going to fix warnings about bad reference item in Item::stackBefore().
This commit is contained in:
parent
2a6e3b7ad8
commit
5555ed2836
1 changed files with 1 additions and 1 deletions
|
@ -208,7 +208,7 @@ void WindowItem::updateShadowItem()
|
|||
if (m_decorationItem) {
|
||||
m_shadowItem->stackBefore(m_decorationItem.get());
|
||||
} else if (m_surfaceItem) {
|
||||
m_shadowItem->stackBefore(m_decorationItem.get());
|
||||
m_shadowItem->stackBefore(m_surfaceItem.get());
|
||||
}
|
||||
} else {
|
||||
m_shadowItem.reset();
|
||||
|
|
Loading…
Reference in a new issue