--- 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 )