Initialize function, allow passing in alternative progname

This commit is contained in:
Thomas Perl 2014-02-03 18:48:41 +01:00
parent f816b37f47
commit f96bfa6526
5 changed files with 15 additions and 11 deletions

View file

@ -27,6 +27,8 @@ Item {
GPodderCore { id: py }
GPodderPlayback { id: player }
GPodderPodcastListModel { id: podcastListModel }
property real scalef: width / 480
anchors.fill: parent

View file

@ -27,8 +27,6 @@ SlidePage {
id: podcastsPage
hasPull: true
Component.onCompleted: podcastListModel.reload();
PullMenu {
PullMenuItem {
source: 'images/play.png'
@ -62,7 +60,7 @@ SlidePage {
section.property: 'section'
section.delegate: SectionHeader { text: section }
model: GPodderPodcastListModel { id: podcastListModel }
model: podcastListModel
delegate: PodcastItem {
onClicked: pgst.loadPage('EpisodesPage.qml', {'podcast_id': id, 'title': title});