forked from qt-creator/qt-creator
QmlDesigner: Call all Component complete handlers
We have to ensure to properly call all Component complete handlers. A single component usually has QQmlComponentAttached objects, which we have to iterate over. Therefore emitComponentCompleteSignalForAttachedProperty() is not correct. Task-number: QDS-269 Change-Id: I4aed5d511f9f6e21f72efb955fc6db21b70e7c42 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
committed by
Tim Jenssen
parent
673a115703
commit
7bff611ee1
@@ -195,7 +195,7 @@ void QuickItemNodeInstance::doComponentComplete()
|
||||
|
||||
QmlPrivateGate::disableTextCursor(quickItem());
|
||||
|
||||
DesignerSupport::emitComponentCompleteSignalForAttachedProperty(quickItem());
|
||||
QmlPrivateGate::emitComponentComplete(quickItem());
|
||||
|
||||
QQmlProperty contentItemProperty(quickItem(), "contentItem", engine());
|
||||
if (contentItemProperty.isValid())
|
||||
|
||||
Reference in New Issue
Block a user