qtinternetradio/ui/src/irsonghistoryview.cpp
changeset 11 f683e24efca3
parent 5 0930554dc389
child 12 608f67c22514
equal deleted inserted replaced
8:3b03c28289e6 11:f683e24efca3
   174 }
   174 }
   175     
   175     
   176 void IRSongHistoryView::modelChanged()
   176 void IRSongHistoryView::modelChanged()
   177 {    
   177 {    
   178     iListView->reset();
   178     iListView->reset();
   179     QString headingStr = hbTrId("txt_irad_list_recently_played_songs") + " (" + QString::number(iModel->rowCount()) + ")";    
   179     
       
   180 #ifdef SUBTITLE_STR_BY_LOCID
       
   181     QString headingStr = hbTrId("txt_irad_subtitle_recently_played_songs") + " (" + QString::number(iModel->rowCount()) + ")";   
       
   182 #else
       
   183     QString headingStr = hbTrId("Recently played songs") + " (" + QString::number(iModel->rowCount()) + ")";
       
   184 #endif    
       
   185  
   180     setHeadingText(headingStr);   
   186     setHeadingText(headingStr);   
   181 }
   187 }
   182 
   188 
   183 void IRSongHistoryView::newMetadataAdded(IRQMetaData *aMetadata)
   189 void IRSongHistoryView::newMetadataAdded(IRQMetaData *aMetadata)
   184 {
   190 {