From 28a72e09be58628e6f30c6bd345ff1fe63a117a4 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Wed, 22 Jul 2009 13:38:48 +0200 Subject: fix calculator example --- demos/declarative/calculator/calculator.qml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/demos/declarative/calculator/calculator.qml b/demos/declarative/calculator/calculator.qml index 001730d..1cc8fa8 100644 --- a/demos/declarative/calculator/calculator.qml +++ b/demos/declarative/calculator/calculator.qml @@ -58,21 +58,21 @@ Rect { GridLayout { id: NumKeypad; y: 32; spacing: 2; columns: 3 - CalcButton { operation: 7 } - CalcButton { operation: 8 } - CalcButton { operation: 9 } - CalcButton { operation: 4 } - CalcButton { operation: 5 } - CalcButton { operation: 6 } - CalcButton { operation: 1 } - CalcButton { operation: 2 } - CalcButton { operation: 3 } + CalcButton { operation: "7" } + CalcButton { operation: "8" } + CalcButton { operation: "9" } + CalcButton { operation: "4" } + CalcButton { operation: "5" } + CalcButton { operation: "6" } + CalcButton { operation: "1" } + CalcButton { operation: "2" } + CalcButton { operation: "3" } } HorizontalLayout { y: 128; spacing: 2 - CalcButton { operation: 0; width: 50 } + CalcButton { operation: "0"; width: 50 } CalcButton { operation: "."; x: 77; width: 50 } CalcButton { operation: "="; id: Equals; x: 77; width: 102 } } -- cgit v0.12