fep/aknfep/UiPlugins/AknFepUiInterface/AvkonImpl/src/AknFepPredictiveSettingList.cpp
branchRCL_3
changeset 8 4eb1ae11334f
parent 0 eb1f2e154e89
child 12 5e18d8c489d6
--- a/fep/aknfep/UiPlugins/AknFepUiInterface/AvkonImpl/src/AknFepPredictiveSettingList.cpp	Wed Mar 31 22:08:20 2010 +0300
+++ b/fep/aknfep/UiPlugins/AknFepUiInterface/AvkonImpl/src/AknFepPredictiveSettingList.cpp	Wed Apr 14 16:18:34 2010 +0300
@@ -284,8 +284,8 @@
 	// aIdentifier is used to determine what kind of setting item should be 
 	// created
 	CAknSettingItem* settingItem = NULL;
-	TInt keyboardLayout = 0;
-	RProperty::Get(KCRUidAvkon, KAknKeyBoardLayout, keyboardLayout);
+    TPtiKeyboardType keyboardLayout = iSettingsData.OwnerKeyboardType();	
+	
     switch (aIdentifier)
         {
         case EAknFepCmdPredAutoComplSetting:
@@ -363,8 +363,7 @@
     // If layout is changed, close settings with information note
     if(aType==KEikDynamicLayoutVariantSwitch)
         {
-        TInt keyboardLayout = 0;
-        RProperty::Get(KCRUidAvkon, KAknKeyBoardLayout, keyboardLayout);
+        TPtiKeyboardType keyboardLayout = iSettingsData.OwnerKeyboardType();
         if(keyboardLayout == EPtiKeyboard12Key)
             {
 #ifndef __ITI_VIRTUAL_TOUCH_FIRST_GENERATION_SUPPORT__