voicerecorder/AppSrc/CVRSettingsDialogMMCSupported.cpp
branchRCL_3
changeset 14 f962425b9f8b
parent 13 4e5b531d23cb
child 19 2f5c9ee7098c
--- a/voicerecorder/AppSrc/CVRSettingsDialogMMCSupported.cpp	Tue May 11 16:15:58 2010 +0300
+++ b/voicerecorder/AppSrc/CVRSettingsDialogMMCSupported.cpp	Tue May 25 12:45:15 2010 +0300
@@ -156,11 +156,12 @@
     	id++;
         }
 
+    if ( VRUtils::MultipleMassStorageAvailable() )
+    	{
+    	// Create the memo store item
+    	// Set memo store item's title
 
-	// Create the memo store item
-	// Set memo store item's title
-	itemTitle = iCoeEnv->AllocReadResourceLC( R_QTN_VOREC_SET_STORE );
-
+    	itemTitle = iCoeEnv->AllocReadResourceLC( R_QTN_VOREC_SET_STORE );
 #ifndef RD_MULTIPLE_DRIVE
 	settingItem = new( ELeave ) CAknMemorySelectionSettingItem( 0, iMemoStore );
 	CleanupStack::PushL( settingItem ); 
@@ -190,9 +191,8 @@
  
 #endif
 
-
-	CleanupStack::PopAndDestroy();	// itemTitle
-
+		CleanupStack::PopAndDestroy();	// itemTitle
+	}
 	CTextListBoxModel* model = listBox->Model();
 	model->SetItemTextArray( &iSettingItemArray );
 	// Ownership retained by us