mpxplugins/viewplugins/views/podcastview/src/mpxpodcastcollectionviewlistboxarray.cpp
equal
deleted
inserted
replaced
477 { |
477 { |
478 CMPXMedia* origMedia( iMedia->AtL( entriesCount - 1 ) ); |
478 CMPXMedia* origMedia( iMedia->AtL( entriesCount - 1 ) ); |
479 if ( origMedia->ValueText(KMPXMediaGeneralTitle ).Length() == 0 ) |
479 if ( origMedia->ValueText(KMPXMediaGeneralTitle ).Length() == 0 ) |
480 { |
480 { |
481 HBufC* text = StringLoader::LoadLC( |
481 HBufC* text = StringLoader::LoadLC( |
482 R_MPX_QTN_NMP_UNKNOWN_TITLE ); |
482 R_MPX_PODCAST_UNKNOWN ); |
483 origMedia->SetTextValueL(KMPXMediaGeneralTitle, |
483 origMedia->SetTextValueL(KMPXMediaGeneralTitle, |
484 *text ); |
484 *text ); |
485 CleanupStack::PopAndDestroy( text ); |
485 CleanupStack::PopAndDestroy( text ); |
486 } |
486 } |
487 } |
487 } |
491 if ( iContainerMedia->IsSupported(KMPXMediaGeneralTitle) ) |
491 if ( iContainerMedia->IsSupported(KMPXMediaGeneralTitle) ) |
492 { |
492 { |
493 if ( iContainerMedia->ValueText(KMPXMediaGeneralTitle).Length() == 0 ) |
493 if ( iContainerMedia->ValueText(KMPXMediaGeneralTitle).Length() == 0 ) |
494 { |
494 { |
495 HBufC* text = StringLoader::LoadLC( |
495 HBufC* text = StringLoader::LoadLC( |
496 R_MPX_QTN_NMP_UNKNOWN_TITLE ); |
496 R_MPX_TITLE_UNKNOWN_PODCAST ); |
497 iContainerMedia->SetTextValueL(KMPXMediaGeneralTitle, |
497 iContainerMedia->SetTextValueL(KMPXMediaGeneralTitle, |
498 *text ); |
498 *text ); |
499 CleanupStack::PopAndDestroy( text ); |
499 CleanupStack::PopAndDestroy( text ); |
500 } |
500 } |
501 } |
501 } |