aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativelistmodel/data/workersync.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/qdeclarativelistmodel/data/workersync.js')
-rw-r--r--tests/auto/declarative/qdeclarativelistmodel/data/workersync.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/auto/declarative/qdeclarativelistmodel/data/workersync.js b/tests/auto/declarative/qdeclarativelistmodel/data/workersync.js
deleted file mode 100644
index 9b8d8fa7f3..0000000000
--- a/tests/auto/declarative/qdeclarativelistmodel/data/workersync.js
+++ /dev/null
@@ -1,8 +0,0 @@
-WorkerScript.onMessage = function(msg) {
- if (msg.action == 'addItem') {
- msg.model.get(0).level0.append({ 'level1': 33 });
- } else if (msg.action == 'dosync') {
- msg.model.sync();
- }
- WorkerScript.sendMessage({'done': true})
-}