if rootObject exists, component is here and ready
Change-Id: I37deb527a04dde9ce458c5aea8e178b3d08b1b46
This commit is contained in:
parent
a71697e68d
commit
5b50373b37
@ -221,7 +221,7 @@ QQuickItem *AppletQuickItemPrivate::createCompactRepresentationExpanderItem()
|
|||||||
|
|
||||||
void AppletQuickItemPrivate::compactRepresentationCheck()
|
void AppletQuickItemPrivate::compactRepresentationCheck()
|
||||||
{
|
{
|
||||||
if (!qmlObject->rootObject() || !qmlObject->mainComponent() || qmlObject->mainComponent()->status() != QQmlComponent::Ready) {
|
if (!qmlObject->rootObject()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user