camerauis/cameraapp/generic/src/CamInfoListBoxContainer.cpp
branchRCL_3
changeset 16 53c8aa5d97a3
parent 15 bf64cebf4673
child 17 8f559c47d7fd
--- a/camerauis/cameraapp/generic/src/CamInfoListBoxContainer.cpp	Tue May 11 15:56:11 2010 +0300
+++ b/camerauis/cameraapp/generic/src/CamInfoListBoxContainer.cpp	Tue May 25 12:22:04 2010 +0300
@@ -300,8 +300,9 @@
 // Handles a change to the setting value of the slider
 // -----------------------------------------------------------------------------
 //
-void CCamInfoListBoxContainer::HandleSettingValueUpdateL( TInt /*aNewValue*/ )
-    {   
+void CCamInfoListBoxContainer::HandleSettingValueUpdateL( TInt aNewValue )
+    {
+    iController.PreviewSettingChangeL( ECamSettingItemDynamicPhotoLightSensitivity, aNewValue );
     }
     
 // ---------------------------------------------------------
@@ -420,16 +421,10 @@
     
     TKeyResponse returnvalue = iListBox->OfferKeyEventL( aKeyEvent, aType );
 
-    if ( CamUtility::IsNhdDevice() )
+    if ( EStdKeyUpArrow == aKeyEvent.iScanCode ||
+           EStdKeyDownArrow == aKeyEvent.iScanCode )
         {
-        // for non touch, we use key presses to scroll thru the scene modes
-        // for touch with keyboard, key pressing can also scroll thru the scene modes            
-        // after every up and down key presses we display the tool tip
-        if ( EStdKeyUpArrow == aKeyEvent.iScanCode ||
-             EStdKeyDownArrow == aKeyEvent.iScanCode )
-            {
-            ShowTooltipL();
-            }
+        ShowTooltipL();
         }
     else // No tooltip
         {
@@ -592,7 +587,6 @@
     {
     switch( aEventType )
         {
-        case EEventEnterKeyPressed:
         case EEventItemDoubleClicked:
               {
               iView.HandleCommandL( EAknSoftkeySelect );