phonebookui/Phonebook2/UIControls/src/CPbk2SettingsListControl.cpp
branchRCL_3
changeset 85 38bb213f60ba
parent 68 9da50d567e3c
--- a/phonebookui/Phonebook2/UIControls/src/CPbk2SettingsListControl.cpp	Wed Sep 15 11:56:55 2010 +0300
+++ b/phonebookui/Phonebook2/UIControls/src/CPbk2SettingsListControl.cpp	Wed Oct 13 14:15:33 2010 +0300
@@ -28,7 +28,7 @@
 #include "Phonebook2PrivateCRKeys.h"
 
 // From Phonebook 2
-#include <pbk2uicontrols.rsg>
+#include <Pbk2UIControls.rsg>
 #include <CPbk2UIExtensionManager.h>
 #include <MPbk2UIExtensionFactory.h>
 #include <MPbk2SettingsControlExtension.h>
@@ -38,8 +38,6 @@
 #include <centralrepository.h>
 #include <featmgr.h>
 #include <AknFepInternalCRKeys.h>
-#include <akncheckboxsettingpage.h>
-#include <sysutil.h>
 
 //Pbk2Debug
 #include "Pbk2Debug.h"
@@ -311,26 +309,6 @@
         //Edit selection setting item 
         //result is ETrue if OK pressed
         result = iSelectionSettingItem->EditItemL();
-        
-        TBool driveSpaceFull( EFalse );
-        driveSpaceFull = SysUtil::FFSSpaceBelowCriticalLevelL( &CCoeEnv::Static()->FsSession() );
-        if ( driveSpaceFull )
-            {
-            //If the disk is full, a write operation cannot complete. So restore 
-            //the previous state.
-            iEikonEnv->HandleError(KErrDiskFull);
-            CSelectionItemList& oldItem( iSettingListState->ItemListState() );
-            CSelectionItemList& item( iSettingListState->SelectionItemList() );
-            TInt count = item.Count();
-            for ( TInt i(0); i < count; ++i )
-                {
-                TBool select = oldItem.At(i)->SelectionStatus();
-                item.At(i)->SetSelectionStatus( select );
-                }
-            iSelectionSettingItem->RestoreStateL();
-            result = EFalse;
-            }
-        
         if ( result )
             {
             //Is selection setting list changed by user