Fix applet loading

Don't request delayed initialization if we're not going to wait for it.

Reviewed by DjE
This commit is contained in:
Aleix Pol 2015-02-21 14:06:14 +01:00
parent bb9552c7cd
commit e3b8935d29

View File

@ -490,6 +490,7 @@ void AppletQuickItem::init()
initialProperties["width"] = width();
initialProperties["height"] = height();
}
d->qmlObject->setInitializationDelayed(false);
d->qmlObject->completeInitialization(initialProperties);
//otherwise, initialize our size to root object's size