summaryrefslogtreecommitdiffstats
path: root/basicsuite/Qt5 Launch Presentation/presentation/Presentation.qml
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar.sletta@digia.com>2013-05-15 13:30:36 +0200
committerGunnar Sletta <gunnar.sletta@digia.com>2013-05-15 14:31:22 +0300
commit8b56d4f90dd63abf90817b3f54b1fcbbf62bb3c5 (patch)
tree7896201308a7e1ba2dec95b0b6dccf9552cfae4f /basicsuite/Qt5 Launch Presentation/presentation/Presentation.qml
parent010154416b82c223c3597ee29d75ec1dc352ccfb (diff)
Update presentation to work with latest qt quick
Change-Id: I1aa32487dc630547b633be0716785f420eaf3368 Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
Diffstat (limited to 'basicsuite/Qt5 Launch Presentation/presentation/Presentation.qml')
-rw-r--r--basicsuite/Qt5 Launch Presentation/presentation/Presentation.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/basicsuite/Qt5 Launch Presentation/presentation/Presentation.qml b/basicsuite/Qt5 Launch Presentation/presentation/Presentation.qml
index 7a5f93a..fc9ea4c 100644
--- a/basicsuite/Qt5 Launch Presentation/presentation/Presentation.qml
+++ b/basicsuite/Qt5 Launch Presentation/presentation/Presentation.qml
@@ -63,8 +63,8 @@ Item {
Component.onCompleted: {
var slideCount = 0;
var slides = [];
- for (var i=0; i<root.resources.length; ++i) {
- var r = root.resources[i];
+ for (var i=0; i<root.children.length; ++i) {
+ var r = root.children[i];
if (r.isSlide) {
slides.push(r);
}