From 5afb953c41b2ea17c028794f476ed06981e0b8ac Mon Sep 17 00:00:00 2001 From: Jos van den Oever Date: Fri, 1 Sep 2017 00:20:58 +0200 Subject: [PATCH] Update qtquick controls 2 to moved demo objects --- demo/demo-qtquick2.qml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/demo/demo-qtquick2.qml b/demo/demo-qtquick2.qml index 080d332..8ade85d 100644 --- a/demo/demo-qtquick2.qml +++ b/demo/demo-qtquick2.qml @@ -43,16 +43,16 @@ ApplicationWindow { id: fibonacciInput placeholderText: "Your number" validator: IntValidator {bottom: 0; top: 100;} - Component.onCompleted: { text = fibonacci.input } - onTextChanged: { fibonacci.input = parseInt(text, 10) } + Component.onCompleted: { text = demo.fibonacci.input } + onTextChanged: { demo.fibonacci.input = parseInt(text, 10) } } Text { - text: "The Fibonacci number: " + fibonacci.result + text: "The Fibonacci number: " + demo.fibonacci.result } } ListView { id: listView - model: fibonacciList + model: demo.fibonacciList delegate: Row { Text { text: result } }