equal
deleted
inserted
replaced
1198 iCollectionUiHelper = CMPXCollectionHelperFactory::NewCollectionUiHelperL(); |
1198 iCollectionUiHelper = CMPXCollectionHelperFactory::NewCollectionUiHelperL(); |
1199 } |
1199 } |
1200 if ( iCollectionUiHelper->TitleExistsL( EMPXPlaylist, aNewName, EMPXOtherType ) ) |
1200 if ( iCollectionUiHelper->TitleExistsL( EMPXPlaylist, aNewName, EMPXOtherType ) ) |
1201 { |
1201 { |
1202 HBufC* info = StringLoader::LoadLC( R_MPX_PLAYLIST_NAME_EXIST, aNewName ); |
1202 HBufC* info = StringLoader::LoadLC( R_MPX_PLAYLIST_NAME_EXIST, aNewName ); |
1203 |
1203 CAknQueryDialog* query = new(ELeave)CAknQueryDialog( *info ); |
1204 if( CEikonEnv::Static()->QueryWinL( KNullDesC, *info ) ) |
1204 if( query->ExecuteLD( R_RENAME_QUERY ) ) |
1205 { |
1205 { |
1206 if ( !LaunchRenameDialogL( aOldName, aNewName, aPath ) ) |
1206 if ( !LaunchRenameDialogL( aOldName, aNewName, aPath ) ) |
1207 { |
1207 { |
1208 ret = EFalse; |
1208 ret = EFalse; |
1209 } |
1209 } |
1921 if ( ret ) |
1921 if ( ret ) |
1922 { |
1922 { |
1923 if ( iCollectionUiHelper->TitleExistsL( EMPXPlaylist, aName, EMPXOtherType ) ) |
1923 if ( iCollectionUiHelper->TitleExistsL( EMPXPlaylist, aName, EMPXOtherType ) ) |
1924 { |
1924 { |
1925 HBufC* info = StringLoader::LoadLC( R_MPX_PLAYLIST_NAME_EXIST, aName ); |
1925 HBufC* info = StringLoader::LoadLC( R_MPX_PLAYLIST_NAME_EXIST, aName ); |
1926 |
1926 CAknQueryDialog* query = new(ELeave)CAknQueryDialog( *info ); |
1927 if( CEikonEnv::Static()->QueryWinL( KNullDesC, *info ) ) |
1927 if( query->ExecuteLD( R_RENAME_QUERY ) ) |
1928 { |
1928 { |
1929 if ( !PlaylistCreateNameExistL( aName, aParse ) ) |
1929 if ( !PlaylistCreateNameExistL( aName, aParse ) ) |
1930 { |
1930 { |
1931 ret = EFalse; |
1931 ret = EFalse; |
1932 } |
1932 } |