camerauis/cameraapp/generic/src/CamStillPreCaptureContainer.cpp
branchRCL_3
changeset 13 38fb6f7eacd5
parent 10 8c55c525d5d7
child 15 bf64cebf4673
--- a/camerauis/cameraapp/generic/src/CamStillPreCaptureContainer.cpp	Wed Apr 14 15:41:04 2010 +0300
+++ b/camerauis/cameraapp/generic/src/CamStillPreCaptureContainer.cpp	Tue Apr 27 16:19:06 2010 +0300
@@ -21,6 +21,7 @@
 #include <cameraapp.rsg>
 #include <vgacamsettings.rsg>
 #include <akntoolbar.h>
+#include <akntoolbarextension.h>
 #include <aknlayoutscalable_apps.cdl.h>
 
 #include "CamStillPreCaptureContainer.h"
@@ -742,6 +743,16 @@
         iController.StartAutoFocus();
         }
 
+      CAknToolbar* fixedToolbar = appui->CurrentFixedToolbar();
+      if ( appui->SelfTimerEnabled() && fixedToolbar )
+        {
+        CAknToolbarExtension* extension = fixedToolbar->ToolbarExtension();
+        if ( extension )
+            {
+            extension->SetShown( EFalse );
+            }
+        }
+
       return EKeyWasConsumed;
       }
     else if ( aType == EEventKeyUp && !MSKCapture )