avoid update calls for items without content
This commit is contained in:
parent
722fb8511c
commit
35a0d8336b
@ -1665,7 +1665,7 @@ void QskControl::itemChange( QQuickItem::ItemChange change,
|
|||||||
|
|
||||||
if ( d->controlFlags & QskControl::DeferredUpdate )
|
if ( d->controlFlags & QskControl::DeferredUpdate )
|
||||||
{
|
{
|
||||||
if ( d->dirtyAttributes )
|
if ( d->dirtyAttributes && ( d->flags & QQuickItem::ItemHasContents ) )
|
||||||
update();
|
update();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user