From: Albert Astals Cid Date: Tue, 21 May 2013 14:44:59 +0000 (+0200) Subject: Fix comment: Signal is actually createdItem not itemCreated X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=64013ae709d59b46f6bacf65a25dbf79bf205b99;p=konrad%2Fqtdeclarative.git Fix comment: Signal is actually createdItem not itemCreated Change-Id: Ie2a259a02becdf6fb0c21d93013e0e3148187ed8 Reviewed-by: Alan Alpert --- diff --git a/src/qml/types/qqmldelegatemodel.cpp b/src/qml/types/qqmldelegatemodel.cpp index 06ee588..edc36ab 100644 --- a/src/qml/types/qqmldelegatemodel.cpp +++ b/src/qml/types/qqmldelegatemodel.cpp @@ -966,7 +966,7 @@ QObject *QQmlDelegateModelPrivate::object(Compositor::Group group, int index, bo /* If asynchronous is true or the component is being loaded asynchronously due to an ancestor being loaded asynchronously, item() may return 0. In this - case itemCreated() will be emitted when the item is available. The item + case createdItem() will be emitted when the item is available. The item at this stage does not have any references, so item() must be called again to ensure a reference is held. Any call to item() which returns a valid item must be matched by a call to release() in order to destroy the item.