uifw/AvKon/src/AknVolumePopup.cpp
branchRCL_3
changeset 56 d48ab3b357f1
parent 55 aecbbf00d063
child 72 a5e7a4f63858
--- 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());
     }
 
 // ---------------------------------------------------------------------------