changeset 5 | 2a40e88564c8 |
parent 0 | ff3acec5bc43 |
child 21 | a1247965635c |
4:beaa16f65879 | 5:2a40e88564c8 |
---|---|
2476 if ( s ) |
2476 if ( s ) |
2477 { |
2477 { |
2478 CMPXCollectionPlaylist* playlist = s->PlaylistL(); |
2478 CMPXCollectionPlaylist* playlist = s->PlaylistL(); |
2479 if ( playlist ) |
2479 if ( playlist ) |
2480 { |
2480 { |
2481 CleanupStack::PushL( playlist ); |
|
2481 if ( playlist->Count() > 0 ) |
2482 if ( playlist->Count() > 0 ) |
2482 { |
2483 { |
2483 if( pausePlayControl ) |
2484 if( pausePlayControl ) |
2484 { |
2485 { |
2485 TMPXPlaybackState state = iPlaybackUtility->StateL(); |
2486 TMPXPlaybackState state = iPlaybackUtility->StateL(); |
2491 { |
2492 { |
2492 pausePlayControl->SetCurrentState(1, ETrue); |
2493 pausePlayControl->SetCurrentState(1, ETrue); |
2493 } |
2494 } |
2494 } |
2495 } |
2495 } |
2496 } |
2496 |
2497 CleanupStack::PopAndDestroy( playlist ); |
2497 delete playlist; |
|
2498 } |
2498 } |
2499 else |
2499 else |
2500 { |
2500 { |
2501 if( pausePlayControl ) |
2501 if( pausePlayControl ) |
2502 { |
2502 { |