diff -r 2a40e88564c8 -r 13afc0e517bd mpxplugins/viewplugins/views/pdsbplaybackview/src/mpxpdsbplaybackviewimp.cpp --- a/mpxplugins/viewplugins/views/pdsbplaybackview/src/mpxpdsbplaybackviewimp.cpp Tue Feb 02 00:09:33 2010 +0200 +++ b/mpxplugins/viewplugins/views/pdsbplaybackview/src/mpxpdsbplaybackviewimp.cpp Fri Feb 19 22:48:30 2010 +0200 @@ -887,13 +887,16 @@ TMPXPlaybackState state = iPlaybackUtility->StateL(); CAknButton* pausePlayControl; pausePlayControl = (CAknButton*)(toolbar->ComponentControl( 1 )); - if ((state == EPbStateInitialising) || (state == EPbStatePlaying)) + if (pausePlayControl) { - pausePlayControl->SetCurrentState(0, ETrue); - } - else - { - pausePlayControl->SetCurrentState(1, ETrue); + if( (state == EPbStateInitialising) || (state == EPbStatePlaying) ) + { + pausePlayControl->SetCurrentState(0, ETrue); + } + else + { + pausePlayControl->SetCurrentState(1, ETrue); + } } if ( state == EPbStatePlaying || state == EPbStatePaused ||