crash with Qt 6.1 fixed
This commit is contained in:
parent
71a791918a
commit
91232e845c
|
@ -720,7 +720,9 @@ void QskQuickItem::itemChange( QQuickItem::ItemChange change,
|
||||||
|
|
||||||
#if 1
|
#if 1
|
||||||
auto oldWindow = qskReleasedWindowCounter->window();
|
auto oldWindow = qskReleasedWindowCounter->window();
|
||||||
if ( oldWindow && ( oldWindow->activeFocusItem() == this ) )
|
|
||||||
|
if ( oldWindow && oldWindow->contentItem()
|
||||||
|
&& ( oldWindow->activeFocusItem() == this ) )
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
Removing an item from the scene might result in
|
Removing an item from the scene might result in
|
||||||
|
|
Loading…
Reference in New Issue