filemanager/App/src/CFileManagerViewBase.cpp
branchRCL_3
changeset 36 95243422089a
parent 28 529f3bf5c2f1
--- a/filemanager/App/src/CFileManagerViewBase.cpp	Mon Jun 21 15:26:15 2010 +0300
+++ b/filemanager/App/src/CFileManagerViewBase.cpp	Thu Aug 19 09:42:45 2010 +0300
@@ -569,7 +569,15 @@
             CleanupStack::PopAndDestroy( fullPath );
             }
         // Let SendUi handle protected files, queries and filtering
-        sendUi.ShowQueryAndSendL( msgData, caps, servicesToDim );
+        TRAPD( err, sendUi.ShowQueryAndSendL( msgData, caps, servicesToDim ) );
+        if ( err == KErrTooBig )
+            {
+            FileManagerDlgUtils::ShowErrorNoteL( R_QTN_FMGR_FILE_SIZE_TOO_LARGE );
+            }
+        else
+            {
+            User::LeaveIfError( err );
+            }
         CleanupStack::PopAndDestroy( servicesToDim );
         }
     CleanupStack::PopAndDestroy( files );