diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2010-04-21 07:21:00 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2010-04-21 07:21:00 (GMT) |
commit | f1c883a98b8afd084522505f84c512eabe61f7f5 (patch) | |
tree | d531b5095a4ba28b656c1bc90c8e30ecfc4d28cd | |
parent | 6abe7f1ef6021a1174d88d1a2811c58241a96707 (diff) | |
download | Qt-f1c883a98b8afd084522505f84c512eabe61f7f5.zip Qt-f1c883a98b8afd084522505f84c512eabe61f7f5.tar.gz Qt-f1c883a98b8afd084522505f84c512eabe61f7f5.tar.bz2 |
remove debugs
-rw-r--r-- | examples/declarative/listmodel-threaded/dataloader.js | 5 | ||||
-rw-r--r-- | examples/declarative/listmodel-threaded/timedisplay.qml | 3 |
2 files changed, 0 insertions, 8 deletions
diff --git a/examples/declarative/listmodel-threaded/dataloader.js b/examples/declarative/listmodel-threaded/dataloader.js index eac7478..d720f09 100644 --- a/examples/declarative/listmodel-threaded/dataloader.js +++ b/examples/declarative/listmodel-threaded/dataloader.js @@ -1,14 +1,9 @@ // ![0] WorkerScript.onMessage = function(msg) { - console.log("Worker told to", msg.action); - if (msg.action == 'appendCurrentTime') { var data = {'time': new Date().toTimeString()}; msg.model.append(data); msg.model.sync(); // updates the changes to the list - - var msgToSend = {'msg': 'Model updated!'}; - WorkerScript.sendMessage(msgToSend); } } // ![0] diff --git a/examples/declarative/listmodel-threaded/timedisplay.qml b/examples/declarative/listmodel-threaded/timedisplay.qml index 80ac9fa..bad7010 100644 --- a/examples/declarative/listmodel-threaded/timedisplay.qml +++ b/examples/declarative/listmodel-threaded/timedisplay.qml @@ -15,9 +15,6 @@ ListView { WorkerScript { id: worker source: "dataloader.js" - onMessage: { - console.log("Worker said", messageObject.msg); - } } Timer { |