diff -r 2a40e88564c8 -r 13afc0e517bd mpxplugins/viewplugins/views/commonplaybackview/src/mpxcommonplaybackviewimp.cpp --- a/mpxplugins/viewplugins/views/commonplaybackview/src/mpxcommonplaybackviewimp.cpp Tue Feb 02 00:09:33 2010 +0200 +++ b/mpxplugins/viewplugins/views/commonplaybackview/src/mpxcommonplaybackviewimp.cpp Fri Feb 19 22:48:30 2010 +0200 @@ -204,20 +204,15 @@ iViewUtility->AddObserverL( this ); TInt flags( 0 ); - CRepository* repository( CRepository::NewL( KCRUidMPXMPFeatures )); + CRepository* repository( CRepository::NewLC( KCRUidMPXMPFeatures )); User::LeaveIfError( repository->Get( KMPXMPLocalVariation, flags )); - delete repository; + CleanupStack::PopAndDestroy( repository ); repository = NULL; + iChangeRTForAllProfiles = static_cast( flags & KMPXChangeRTForAll ); - // Pre-load Equalizer & Audio Effects views - iViewUtility->PreLoadViewL( - TUid::Uid( KMPXPluginTypeEqualizerUid ) ); - iViewUtility->PreLoadViewL( - TUid::Uid( KMPXPluginTypeAudioEffectsUid ) ); - iLayout = new (ELeave) CMPXCommonPlaybackViewLayout(); iCollectionUtility = MMPXCollectionUtility::NewL( this ); @@ -2026,7 +2021,7 @@ } case EAknSoftkeyBack: { - AppUi()->HandleCommandL( EMPXCmdGotoCollection ); + #ifdef BACKSTEPPING_INCLUDED // let Back Stepping Service handle the event TInt statusInfo( KMPXBackSteppingNotConsumed );