Instantiator: fix typo in docs
authorAndrew Knight <andrew.knight@intopalo.com>
Sat, 25 Jul 2015 06:50:19 +0000 (09:50 +0300)
committerAndrew Knight <andrew.knight@intopalo.com>
Sun, 26 Jul 2015 10:36:24 +0000 (10:36 +0000)
The method is objectAt(), not itemAt().

Change-Id: Ie37636a6f9a641edfe3ec2b47def8806b9b10aa8
Reviewed-by: Martin Smith <martin.smith@digia.com>
src/qml/types/qqmlinstantiator.cpp

index 7626ba5a0500ae00af5fff2fdc28e695e69c9b2f..735463a05879950df2b52a70e183b183bd4f10a8 100644 (file)
@@ -321,7 +321,7 @@ int QQmlInstantiator::count() const
 
     Note that an extra variable, index, will be available inside instances of the
     delegate. This variable refers to the index of the instance inside the Instantiator,
-    and can be used to obtain the object through the itemAt method of the Instantiator.
+    and can be used to obtain the object through the objectAt method of the Instantiator.
 
     If this property is changed, all instances using the old delegate will be destroyed
     and new instances will be created using the new delegate.