aboutsummaryrefslogtreecommitdiff
path: root/tests/client
diff options
context:
space:
mode:
authorRenato Araujo Oliveira Filho <renato.filho@canonical.com>2012-10-10 09:49:39 -0300
committerRenato Araujo Oliveira Filho <renato.filho@canonical.com>2012-10-10 09:49:39 -0300
commit5dd33f34a444cea648f17fe8aadd93b516948957 (patch)
treecf52233d4cfc4290f7a6527d7e280912011f54a7 /tests/client
parent1e659aed9b6882dbe05d812363715c8e0583fc9a (diff)
downloadqmenumodel-5dd33f34a444cea648f17fe8aadd93b516948957.tar.gz
qmenumodel-5dd33f34a444cea648f17fe8aadd93b516948957.tar.bz2
qmenumodel-5dd33f34a444cea648f17fe8aadd93b516948957.zip
Clenup qml file, removed debug messages and unused code.
Diffstat (limited to 'tests/client')
-rw-r--r--tests/client/loadmodel.qml7
1 files changed, 0 insertions, 7 deletions
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;
}
}