mpviewplugins/mpcollectionviewplugin/src/mpcollectioncontainerallsongs.cpp
changeset 48 af3740e3753f
parent 32 c163ef0b758d
child 51 560ce2306a17
equal deleted inserted replaced
42:79c49924ae23 48:af3740e3753f
    69 {
    69 {
    70     TX_ENTRY
    70     TX_ENTRY
    71     MpCollectionListContainer::dataReloaded();
    71     MpCollectionListContainer::dataReloaded();
    72     if ( mViewMode != MpCommon::FetchView ) {
    72     if ( mViewMode != MpCommon::FetchView ) {
    73         int count = mCollectionData->count();
    73         int count = mCollectionData->count();
    74         QString details = hbTrId("txt_mus_subhead_ln_songs", count);
    74         QString details = hbTrId("txt_mus_subhead_songs_l1").arg( count );
    75         mInfoBar->setHeading(details);
    75         mInfoBar->setHeading(details);
    76     }
    76     }
    77     if ( mCollectionData->count() > 1 ) {
    77     if ( mCollectionData->count() > 1 ) {
    78         emit shuffleEnabled(true);
    78         emit shuffleEnabled(true);
    79     }
    79     }
   111         if ( mViewMode == MpCommon::FetchView ) {
   111         if ( mViewMode == MpCommon::FetchView ) {
   112             details = hbTrId("txt_mus_subtitle_select_a_song");
   112             details = hbTrId("txt_mus_subtitle_select_a_song");
   113         }
   113         }
   114         else {
   114         else {
   115             int count = mCollectionData->count();
   115             int count = mCollectionData->count();
   116             details = hbTrId("txt_mus_subhead_ln_songs", count);
   116             details = hbTrId("txt_mus_subhead_songs_l1").arg( count );
   117         }
   117         }
   118         mInfoBar->setHeading(details);
   118         mInfoBar->setHeading(details);
   119     }
   119     }
   120     else {
   120     else {
   121         // Call empty list from base class
   121         // Call empty list from base class