~gg-lp/music-app/music-app

« back to all changes in this revision

Viewing changes to MusicStart.qml

  • Committer: Andrew Hayzen
  • Date: 2014-11-10 22:20:24 UTC
  • mto: This revision was merged to the branch mainline in revision 735.
  • Revision ID: ahayzen@gmail.com-20141110222024-kjfoirzwefw4lhwk
* Rewrite the ColumnFlow.qml to use dynamic creation/deletion of cards

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
            secondaryText: model.type === "playlist" ? i18n.tr("Playlist") : (recentAlbumSongs.status === SongsModel.Ready && recentAlbumSongs.get(0, SongsModel.RoleModelData).author != "" ? recentAlbumSongs.get(0, SongsModel.RoleModelData).author : i18n.tr("Unknown Artist"))
80
80
 
81
81
            onClicked: {
82
 
                if (type === "playlist") {
 
82
                if (model.type === "playlist") {
83
83
                    albumTracksModel.filterPlaylistTracks(model.data)
84
84
                }
85
85