--- a/uifw/AvKon/src/AknVolumePopup.cpp Tue Aug 31 15:28:30 2010 +0300
+++ b/uifw/AvKon/src/AknVolumePopup.cpp Wed Sep 01 12:16:19 2010 +0100
@@ -382,6 +382,7 @@
{
TInt feedbackStyle = (TAknFeedbackStyle)reader.ReadInt16();
iFlags = reader.ReadInt16();
+ reader.Rewind( 4 ); // Rewind to the beginning, then construct slider.
}
else
{
@@ -521,7 +522,7 @@
iExt->TryLoadDefaultSliderVolumeBitmap();
iExt->iSliderControl->ReportMarkerDragEvent( ETrue );
iExt->iSliderControl->SuppressDrawing( ETrue );
- }
+ }
else
{
iExt->iSliderControl = new( ELeave )CAknSlider;
@@ -1448,7 +1449,7 @@
if ( iVisible )
{
- SetVisibilityL( ETrue );
+ TRAP_IGNORE(SetVisibilityL( ETrue ));
DrawDeferred();
}
}
@@ -1718,7 +1719,7 @@
EXPORT_C void CAknVolumePopup::UseMutedIcon( TBool aFlag )
{
iExt->iUseMutedIcon = aFlag;
- CreateSpeakerL();
+ TRAP_IGNORE(CreateSpeakerL());
}
// ---------------------------------------------------------------------------