diff -r c97423828d28 -r a914e47e7a01 mpxplugins/viewplugins/views/commonplaybackview/src/mpxcommonplaybackviewimp.cpp --- a/mpxplugins/viewplugins/views/commonplaybackview/src/mpxcommonplaybackviewimp.cpp Mon Feb 22 16:43:34 2010 +0000 +++ b/mpxplugins/viewplugins/views/commonplaybackview/src/mpxcommonplaybackviewimp.cpp Sun Mar 14 13:09:18 2010 +0000 @@ -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 );