From 5dd33f34a444cea648f17fe8aadd93b516948957 Mon Sep 17 00:00:00 2001 From: Renato Araujo Oliveira Filho Date: Wed, 10 Oct 2012 09:49:39 -0300 Subject: Clenup qml file, removed debug messages and unused code. --- tests/client/loadmodel.qml | 7 ------- 1 file changed, 7 deletions(-) (limited to 'tests') diff --git a/tests/client/loadmodel.qml b/tests/client/loadmodel.qml index a91c18b..2eeb8e6 100644 --- a/tests/client/loadmodel.qml +++ b/tests/client/loadmodel.qml @@ -10,9 +10,7 @@ Item { onResetChanged: { if (reset) { - console.log("Remove page"); view.model.destroy(); - //pop(); } } @@ -22,16 +20,11 @@ Item { delegate: Text { text: label } - onCountChanged: { - console.log("Row count: " + count); - } } Component.onCompleted: { var model = Qt.createQmlObject("import QMenuModel 0.1; QDBusMenuModel { id: menuModel; busType: globalBusType; busName: globalBusName; objectPath: globalObjectPath; }", view, ""); model.start(); - console.log("New model: " + model) - console.log("New model2: " + model) view.model = model; } } -- cgit v1.2.3