summaryrefslogtreecommitdiffstats
path: root/basicsuite
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
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')
-rw-r--r--basicsuite/Qt5 Launch Presentation/SlideDeck.qml4
-rw-r--r--basicsuite/Qt5 Launch Presentation/presentation/Presentation.qml4
2 files changed, 3 insertions, 5 deletions
diff --git a/basicsuite/Qt5 Launch Presentation/SlideDeck.qml b/basicsuite/Qt5 Launch Presentation/SlideDeck.qml
index 969b1b1..d9b76ce 100644
--- a/basicsuite/Qt5 Launch Presentation/SlideDeck.qml
+++ b/basicsuite/Qt5 Launch Presentation/SlideDeck.qml
@@ -88,11 +88,9 @@ OpacityTransitionPresentation {
It is an application written with Qt Quick, based on Qt 5. The source code is available from:
https://qt.gitorious.org/qt-labs/qt5-launch-demo
-
We hope you will enjoy Qt 5 as much as we have enjoyed creating it.
-
- [tap to advance]"
+[tap to advance]"
// Image {
// source: "images/qt-logo.png"
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);
}