diff --git a/gpodder-ui-qml b/gpodder-ui-qml index 9d5fa93..fa9586b 160000 --- a/gpodder-ui-qml +++ b/gpodder-ui-qml @@ -1 +1 @@ -Subproject commit 9d5fa936439a335c037116eff90517e66da03c93 +Subproject commit fa9586bbdb62f13c583dfc2f8da784d13a809144 diff --git a/qml/PodcastsPage.qml b/qml/PodcastsPage.qml index fe6dd7a..e2dc1a9 100644 --- a/qml/PodcastsPage.qml +++ b/qml/PodcastsPage.qml @@ -21,47 +21,13 @@ import QtQuick 2.0 import Sailfish.Silica 1.0 +import 'common' import 'common/util.js' as Util Page { id: podcastsPage - function reload() { - py.call('main.load_podcasts', [], function (podcasts) { - Util.updateModelFrom(podcastListModel, podcasts); - }); - } - - Component.onCompleted: { - reload(); - - py.setHandler('podcast-list-changed', podcastsPage.reload); - - py.setHandler('updating-podcast', function (podcast_id) { - for (var i=0; i