Revert "Use QML WorkerScript for loading and updating models"

This reverts commit d8fd1ff3dd.
This commit is contained in:
Thomas Perl 2015-05-24 17:44:39 +02:00
parent ab4dfc611b
commit 4a0b3f1b12
6 changed files with 33 additions and 126 deletions

View file

@ -25,13 +25,9 @@ import 'util.js' as Util
ListModel {
id: podcastListModel
property var worker: ModelWorkerScript {
id: modelWorker
}
function reload() {
py.call('main.load_podcasts', [], function (podcasts) {
modelWorker.updateModelFrom(podcastListModel, podcasts);
Util.updateModelFrom(podcastListModel, podcasts);
});
}
}