~vthompson/music-app/remix-walkthrough

« back to all changes in this revision

Viewing changes to music-app.qml

  • Committer: Victor Thompson
  • Date: 2015-01-19 00:27:35 UTC
  • Revision ID: victor.thompson@gmail.com-20150119002735-3ysfopc0vvog26u0
update to show walkthrough when there is no music

Show diffs side-by-side

added added

removed removed

Lines of Context:
1254
1254
    Page {
1255
1255
        id: emptyPage
1256
1256
        title: i18n.tr("Music")
1257
 
        visible: noMusic || noPlaylists || noRecent
 
1257
        visible: (noMusic || noPlaylists || noRecent) && !firstRun
1258
1258
 
1259
1259
        property bool noMusic: allSongsModel.rowCount === 0 && allSongsModelModel.status === SongsModel.Ready && loadedUI
1260
1260
        property bool noPlaylists: playlistModel.model.count === 0 && playlistModel.workerComplete && mainPageStack.currentPage.title !== i18n.tr("Now playing") && mainPageStack.currentPage.title !== i18n.tr("Queue")